Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_8_0_0_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/Buildings 8.0.0/package.mo): time 2.585/2.585, allocations: 284.9 MB / 292.4 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001471, allocations: 188.8 kB / 360.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001152, allocations: 92.5 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.976e-05/3.974e-05, allocations: 8 kB / 0.8509 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8245/0.8245, allocations: 115.3 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2699/1.094, allocations: 136.6 MB / 1.097 GB, free: 3.855 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/1.095, allocations: 74.23 kB / 1.097 GB, free: 3.785 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002231/1.097, allocations: 0.6197 MB / 1.097 GB, free: 3.176 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.503e-06/1.097, allocations: 0.5938 kB / 1.097 GB, free: 3.176 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.097, allocations: 0 / 1.097 GB, free: 3.176 MB / 0.698 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.0004425/1.098, allocations: 337.6 kB / 1.098 GB, free: 2.812 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/1.098, allocations: 12.03 kB / 1.098 GB, free: 2.801 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/1.098, allocations: 1.203 kB / 1.098 GB, free: 2.801 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/1.098, allocations: 168.2 kB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/1.098, allocations: 4 kB / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/1.098, allocations: 0 / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.761e-05/1.098, allocations: 8 kB / 1.098 GB, free: 2.586 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.253e-05/1.098, allocations: 37.62 kB / 1.098 GB, free: 2.543 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/1.098, allocations: 6.656 kB / 1.098 GB, free: 2.539 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/1.098, allocations: 3.266 kB / 1.098 GB, free: 2.539 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/1.098, allocations: 4.859 kB / 1.098 GB, free: 2.539 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/1.098, allocations: 231.5 kB / 1.098 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.53e-05/1.099, allocations: 22.58 kB / 1.098 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/1.099, allocations: 13.61 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/1.099, allocations: 4.625 kB / 1.098 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/1.099, allocations: 35.19 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/1.099, allocations: 0.5625 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001604/1.099, allocations: 38.33 kB / 1.098 GB, free: 2.141 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/1.099, allocations: 56 kB / 1.098 GB, free: 2.074 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.479e-05/1.099, allocations: 89.84 kB / 1.099 GB, free: 1.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/1.099, allocations: 25.7 kB / 1.099 GB, free: 1.949 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/1.099, allocations: 88.62 kB / 1.099 GB, free: 1.859 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/1.099, allocations: 4.625 kB / 1.099 GB, free: 1.855 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/1.099, allocations: 0 / 1.099 GB, free: 1.855 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.099, allocations: 315.4 kB / 1.099 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.263e-05/1.099, allocations: 8.781 kB / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/1.099, allocations: 4.688 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.751e-05/1.099, allocations: 4.969 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.099, allocations: 0 / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001029/1.1, allocations: 45.62 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/1.1, allocations: 6.906 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.1, allocations: 4.438 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.1, allocations: 4 kB / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/1.1, allocations: 11.53 kB / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/1.1, allocations: 7.922 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/1.1, allocations: 4 kB / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/1.1, allocations: 0 / 1.099 GB, free: 1.445 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.58e-05/1.1, allocations: 112.7 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001047/1.1, allocations: 46.19 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/1.1, allocations: 0.7188 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.454e-05/1.1, allocations: 14.84 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.1, allocations: 1.75 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/1.1, allocations: 0 / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.1, allocations: 0 / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/1.1, allocations: 134.2 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.1, allocations: 3.938 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/1.101, allocations: 15.08 kB / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/1.101, allocations: 0 / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/1.101, allocations: 0 / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.101, allocations: 4 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.101, allocations: 0 / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/1.101, allocations: 143.3 kB / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/1.101, allocations: 82.61 kB / 1.1 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/1.101, allocations: 0 / 1.1 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/1.101, allocations: 7.984 kB / 1.1 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/1.101, allocations: 4 kB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/1.101, allocations: 0 / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.975e-05/1.101, allocations: 79.27 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.101, allocations: 8.188 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00029/1.101, allocations: 4 kB / 1.1 GB, free: 0.7266 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005053/1.102, allocations: 0.6798 MB / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.273e-05/1.102, allocations: 12 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.102, allocations: 4.094 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/1.102, allocations: 4 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/1.102, allocations: 8.047 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/1.103, allocations: 99.81 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/1.103, allocations: 0.6807 MB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.787e-05/1.103, allocations: 0 / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/1.103, allocations: 12.56 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/1.103, allocations: 64 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03486/1.138, allocations: 0.709 MB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003327/1.139, allocations: 150.1 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/3.522, allocations: 0 / 1.102 GB, free: 14.28 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)