Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008778/0.0008778, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005335/0.005335, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.093/2.093, allocations: 390.9 MB / 0.6664 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003175, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5047/0.505, allocations: 142.4 MB / 0.9552 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.000613/0.5057, allocations: 392.8 kB / 0.9556 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005542/0.5062, allocations: 0.8068 MB / 0.9564 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.245e-05/0.5063, allocations: 0 / 0.9564 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.5063, allocations: 4 kB / 0.9564 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.385e-05/0.5063, allocations: 1.281 kB / 0.9564 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.534e-05/0.5064, allocations: 5.094 kB / 0.9564 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.331e-05/0.5065, allocations: 21.77 kB / 0.9564 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.258e-05/0.5066, allocations: 6.594 kB / 0.9564 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.201e-05/0.5066, allocations: 6.734 kB / 0.9564 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.957e-05/0.5066, allocations: 7.906 kB / 0.9564 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.5066, allocations: 0 / 0.9564 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.096e-06/0.5067, allocations: 1.969 kB / 0.9564 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.5067, allocations: 15.97 kB / 0.9564 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.5067, allocations: 32.23 kB / 0.9565 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.783e-05/0.5068, allocations: 19.34 kB / 0.9565 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.5068, allocations: 0 / 0.9565 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5068, allocations: 1.375 kB / 0.9565 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.675e-06/0.5068, allocations: 3.938 kB / 0.9565 GB, free: 6.723 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002702/0.5071, allocations: 338.2 kB / 0.9568 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.5071, allocations: 14.25 kB / 0.9568 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.254e-05/0.5071, allocations: 34.75 kB / 0.9568 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.713e-05/0.5071, allocations: 5.969 kB / 0.9569 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.584e-05/0.5072, allocations: 166.1 kB / 0.957 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.5072, allocations: 1.906 kB / 0.957 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.5072, allocations: 2.125 kB / 0.957 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.5074, allocations: 53.58 kB / 0.9571 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.5074, allocations: 7.938 kB / 0.9571 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-06/0.5074, allocations: 0 / 0.9571 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.5074, allocations: 0.9688 kB / 0.9571 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.5076, allocations: 44.28 kB / 0.9571 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.5078, allocations: 252.7 kB / 0.9574 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.5079, allocations: 43.81 kB / 0.9574 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.508, allocations: 28.12 kB / 0.9574 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.508, allocations: 4 kB / 0.9574 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.033e-05/0.508, allocations: 35.7 kB / 0.9575 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.508, allocations: 0 / 0.9575 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003035/0.5083, allocations: 100.5 kB / 0.9576 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.555e-05/0.5084, allocations: 51.41 kB / 0.9576 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.12e-05/0.5084, allocations: 103 kB / 0.9577 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-06/0.5084, allocations: 25.7 kB / 0.9577 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.882e-05/0.5084, allocations: 85.83 kB / 0.9578 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.5085, allocations: 7.844 kB / 0.9578 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.5085, allocations: 11.38 kB / 0.9578 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.379e-05/0.5085, allocations: 318.9 kB / 0.9581 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.692e-05/0.5086, allocations: 26.33 kB / 0.9582 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.878e-05/0.5087, allocations: 19.11 kB / 0.9582 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.5088, allocations: 60.62 kB / 0.9582 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5088, allocations: 3.938 kB / 0.9582 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001721/0.509, allocations: 74.14 kB / 0.9583 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.509, allocations: 6.25 kB / 0.9583 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-06/0.509, allocations: 0 / 0.9583 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.509, allocations: 0 / 0.9583 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.285e-05/0.5091, allocations: 12.39 kB / 0.9583 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.5091, allocations: 0 / 0.9583 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.5092, allocations: 10.8 kB / 0.9583 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.5092, allocations: 5.5 kB / 0.9583 GB, free: 4.855 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.5092, allocations: 111.3 kB / 0.9585 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.5093, allocations: 1.406 kB / 0.9585 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.791e-05/0.5093, allocations: 7.125 kB / 0.9585 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.5093, allocations: 1.469 kB / 0.9585 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.5093, allocations: 0 / 0.9585 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-06/0.5093, allocations: 0 / 0.9585 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.343e-05/0.5094, allocations: 170.4 kB / 0.9586 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5094, allocations: 3.938 kB / 0.9586 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.5095, allocations: 20.95 kB / 0.9586 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.5095, allocations: 0 / 0.9586 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.5095, allocations: 4 kB / 0.9587 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5095, allocations: 1.875 kB / 0.9587 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5095, allocations: 0 / 0.9587 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.5097, allocations: 175.9 kB / 0.9588 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.5097, allocations: 78.92 kB / 0.9589 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.5097, allocations: 0 / 0.9589 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.5098, allocations: 11.14 kB / 0.9589 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.5098, allocations: 0 / 0.9589 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.5098, allocations: 1.844 kB / 0.9589 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.668e-05/0.5098, allocations: 83.53 kB / 0.959 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5098, allocations: 0 / 0.959 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000194/0.51, allocations: 2.219 kB / 0.959 GB, free: 4.168 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003328/0.5104, allocations: 0.7133 MB / 0.9597 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.5106, allocations: 50.25 kB / 0.9597 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.5106, allocations: 3.938 kB / 0.9597 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.5107, allocations: 20.48 kB / 0.9598 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.5109, allocations: 8.141 kB / 0.9598 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.5112, allocations: 142.8 kB / 0.9599 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.394e-05/0.5113, allocations: 0.6783 MB / 0.9606 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.739e-05/0.5113, allocations: 0 / 0.9606 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.5113, allocations: 8.5 kB / 0.9606 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.5113, allocations: 0 / 0.9606 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.969/2.48, allocations: 1.018 MB / 0.9616 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/2.48, allocations: 203.4 kB / 0.9618 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.88/5.36, allocations: 4.562 kB / 0.9618 GB, free: 1.84 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches