Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.655/1.655, allocations: 292.6 MB / 307.5 MB, free: 5.086 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.001355/0.001355, allocations: 185 kB / 377.1 MB, free: 1.406 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 0.6366 GB, free: 8.641 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.00087/0.00087, allocations: 92.09 kB / 0.7509 GB, free: 62.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005783/0.0005784, allocations: 16 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2864, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7786/1.065, allocations: 138.5 MB / 1.124 GB, free: 35.96 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/1.065, allocations: 71.39 kB / 1.124 GB, free: 35.9 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001748/1.067, allocations: 0.6113 MB / 1.124 GB, free: 35.38 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.278e-06/1.067, allocations: 4.531 kB / 1.124 GB, free: 35.38 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.648e-06/1.067, allocations: 3.938 kB / 1.124 GB, free: 35.38 MB / 0.7292 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.0003897/1.068, allocations: 349.6 kB / 1.125 GB, free: 35.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/1.068, allocations: 12.02 kB / 1.125 GB, free: 35 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/1.068, allocations: 35.78 kB / 1.125 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/1.068, allocations: 5.969 kB / 1.125 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/1.068, allocations: 165.7 kB / 1.125 GB, free: 34.75 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/1.068, allocations: 1.062 kB / 1.125 GB, free: 34.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/1.068, allocations: 8 kB / 1.125 GB, free: 34.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/1.068, allocations: 57 kB / 1.125 GB, free: 34.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/1.068, allocations: 4.656 kB / 1.125 GB, free: 34.69 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/1.068, allocations: 0 / 1.125 GB, free: 34.69 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/1.068, allocations: 1.641 kB / 1.125 GB, free: 34.69 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/1.068, allocations: 46.3 kB / 1.125 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/1.069, allocations: 245.1 kB / 1.125 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/1.069, allocations: 44.02 kB / 1.125 GB, free: 34.33 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/1.069, allocations: 4.625 kB / 1.125 GB, free: 34.33 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/1.069, allocations: 31.81 kB / 1.125 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.069, allocations: 4 kB / 1.125 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000363/1.069, allocations: 95.8 kB / 1.125 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/1.069, allocations: 58.86 kB / 1.125 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.098e-05/1.069, allocations: 93.94 kB / 1.126 GB, free: 34.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/1.07, allocations: 29.7 kB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/1.07, allocations: 80.7 kB / 1.126 GB, free: 33.92 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/1.07, allocations: 3.906 kB / 1.126 GB, free: 33.91 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-06/1.07, allocations: 0 / 1.126 GB, free: 33.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.212e-05/1.07, allocations: 322.3 kB / 1.126 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-05/1.07, allocations: 23.97 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.589e-05/1.07, allocations: 22.98 kB / 1.126 GB, free: 33.56 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.387e-05/1.07, allocations: 20.08 kB / 1.126 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.07, allocations: 0 / 1.126 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001741/1.07, allocations: 80.02 kB / 1.126 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/1.07, allocations: 7.938 kB / 1.126 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.07, allocations: 4 kB / 1.126 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/1.07, allocations: 0 / 1.126 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.618e-05/1.07, allocations: 19.64 kB / 1.126 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/1.07, allocations: 0.8438 kB / 1.126 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/1.07, allocations: 11.73 kB / 1.126 GB, free: 33.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/1.07, allocations: 4.859 kB / 1.126 GB, free: 33.43 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.427e-05/1.07, allocations: 109.8 kB / 1.126 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/1.07, allocations: 0 / 1.126 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/1.07, allocations: 10.59 kB / 1.126 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.07, allocations: 0.5156 kB / 1.126 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/1.07, allocations: 5.562 kB / 1.126 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/1.071, allocations: 0 / 1.126 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/1.071, allocations: 161.7 kB / 1.126 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/1.071, allocations: 0 / 1.126 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.167e-05/1.071, allocations: 11.38 kB / 1.126 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.071, allocations: 0 / 1.126 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/1.071, allocations: 5.406 kB / 1.126 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.071, allocations: 0 / 1.126 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/1.071, allocations: 0.9375 kB / 1.126 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/1.071, allocations: 177.4 kB / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/1.071, allocations: 77.11 kB / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/1.071, allocations: 0.5 kB / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/1.071, allocations: 19.59 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/1.071, allocations: 0 / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/1.071, allocations: 4.5 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.469e-05/1.071, allocations: 78.61 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/1.071, allocations: 0 / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002027/1.071, allocations: 4 kB / 1.127 GB, free: 32.72 MB / 0.7292 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 (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.0004626/1.072, allocations: 0.7192 MB / 1.127 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001995/1.072, allocations: 42.73 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.072, allocations: 6.688 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.551e-05/1.072, allocations: 26.98 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/1.072, allocations: 10.61 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/1.073, allocations: 135.2 kB / 1.128 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/1.073, allocations: 0.6838 MB / 1.128 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.673e-05/1.073, allocations: 4.781 kB / 1.128 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/1.073, allocations: 11.44 kB / 1.128 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/1.073, allocations: 0 / 1.128 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/1.085, allocations: 0.9995 MB / 1.129 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/1.086, allocations: 189.2 kB / 1.13 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.666, allocations: 0 / 1.13 GB, free: 30.28 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)