Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.38/2.38, allocations: 390.3 MB / 402.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 172.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 221.3 MB / 0.7915 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 95.89 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.072e-05/4.087e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2899, allocations: 143 MB / 1.219 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8908/1.181, allocations: 149.5 MB / 1.365 GB, free: 4.508 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/1.181, allocations: 76.69 kB / 1.365 GB, free: 4.465 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001583/1.183, allocations: 0.6319 MB / 1.366 GB, free: 3.883 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.243e-06/1.183, allocations: 0 / 1.366 GB, free: 3.883 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.061e-06/1.183, allocations: 4 kB / 1.366 GB, free: 3.879 MB / 0.823 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.0003305/1.183, allocations: 326.5 kB / 1.366 GB, free: 3.516 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.183, allocations: 8.031 kB / 1.366 GB, free: 3.508 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/1.183, allocations: 34.38 kB / 1.366 GB, free: 3.469 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.295e-05/1.183, allocations: 4 kB / 1.366 GB, free: 3.465 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/1.183, allocations: 171.8 kB / 1.366 GB, free: 3.258 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/1.183, allocations: 0 / 1.366 GB, free: 3.258 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/1.183, allocations: 4 kB / 1.366 GB, free: 3.254 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.391e-05/1.183, allocations: 37.58 kB / 1.366 GB, free: 3.215 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/1.183, allocations: 0 / 1.366 GB, free: 3.215 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/1.183, allocations: 0 / 1.366 GB, free: 3.215 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/1.183, allocations: 0 / 1.366 GB, free: 3.215 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.203e-05/1.183, allocations: 11.75 kB / 1.366 GB, free: 3.207 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/1.184, allocations: 260.6 kB / 1.366 GB, free: 2.91 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.114e-05/1.184, allocations: 21.64 kB / 1.366 GB, free: 2.883 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/1.184, allocations: 16.42 kB / 1.366 GB, free: 2.867 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/1.184, allocations: 7.984 kB / 1.366 GB, free: 2.859 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/1.184, allocations: 30.56 kB / 1.366 GB, free: 2.82 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/1.184, allocations: 0 / 1.366 GB, free: 2.82 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001462/1.184, allocations: 44.12 kB / 1.367 GB, free: 2.773 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/1.184, allocations: 56.12 kB / 1.367 GB, free: 2.707 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/1.184, allocations: 96.05 kB / 1.367 GB, free: 2.609 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/1.184, allocations: 29.7 kB / 1.367 GB, free: 2.574 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/1.184, allocations: 83.58 kB / 1.367 GB, free: 2.492 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/1.184, allocations: 3.906 kB / 1.367 GB, free: 2.488 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/1.184, allocations: 0 / 1.367 GB, free: 2.488 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001077/1.184, allocations: 314.8 kB / 1.367 GB, free: 2.172 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/1.184, allocations: 17.61 kB / 1.367 GB, free: 2.16 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/1.184, allocations: 7.938 kB / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.038e-05/1.184, allocations: 7.062 kB / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/1.184, allocations: 0 / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.06e-05/1.184, allocations: 36.77 kB / 1.367 GB, free: 2.109 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.185, allocations: 8 kB / 1.367 GB, free: 2.102 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/1.185, allocations: 0 / 1.367 GB, free: 2.102 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/1.185, allocations: 0 / 1.367 GB, free: 2.102 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/1.185, allocations: 16.08 kB / 1.367 GB, free: 2.086 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/1.185, allocations: 0 / 1.367 GB, free: 2.086 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.732e-05/1.185, allocations: 15.94 kB / 1.367 GB, free: 2.07 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/1.185, allocations: 0 / 1.367 GB, free: 2.07 MB / 0.823 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 5.555e-05/1.185, allocations: 101 kB / 1.367 GB, free: 1.965 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/1.185, allocations: 7.562 kB / 1.367 GB, free: 1.961 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/1.185, allocations: 3.125 kB / 1.367 GB, free: 1.961 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/1.185, allocations: 0 / 1.367 GB, free: 1.961 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.185, allocations: 4 kB / 1.367 GB, free: 1.957 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/1.185, allocations: 3.938 kB / 1.367 GB, free: 1.953 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/1.185, allocations: 164.6 kB / 1.367 GB, free: 1.746 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.185, allocations: 3.938 kB / 1.367 GB, free: 1.742 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.63e-05/1.185, allocations: 11.98 kB / 1.367 GB, free: 1.73 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/1.185, allocations: 4 kB / 1.367 GB, free: 1.727 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/1.185, allocations: 0 / 1.367 GB, free: 1.727 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/1.185, allocations: 1.938 kB / 1.367 GB, free: 1.727 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.185, allocations: 0 / 1.367 GB, free: 1.727 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/1.185, allocations: 141.5 kB / 1.368 GB, free: 1.578 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/1.185, allocations: 81.09 kB / 1.368 GB, free: 1.48 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/1.185, allocations: 0 / 1.368 GB, free: 1.48 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.216e-05/1.185, allocations: 11.5 kB / 1.368 GB, free: 1.473 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/1.186, allocations: 3.984 kB / 1.368 GB, free: 1.469 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/1.186, allocations: 0 / 1.368 GB, free: 1.469 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.528e-05/1.186, allocations: 83.31 kB / 1.368 GB, free: 1.387 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.186, allocations: 0 / 1.368 GB, free: 1.387 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002123/1.186, allocations: 4 kB / 1.368 GB, free: 1.383 MB / 0.823 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.0004499/1.186, allocations: 0.6771 MB / 1.368 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.426e-05/1.186, allocations: 15.78 kB / 1.368 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.186, allocations: 0 / 1.368 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.702e-05/1.186, allocations: 15.69 kB / 1.368 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/1.187, allocations: 0 / 1.368 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/1.187, allocations: 93.7 kB / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/1.187, allocations: 0.6809 MB / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.561e-05/1.187, allocations: 3.984 kB / 1.369 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/1.187, allocations: 19.44 kB / 1.369 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.187, allocations: 0 / 1.369 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/1.199, allocations: 1.011 MB / 1.37 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/1.199, allocations: 166.4 kB / 1.37 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/2.683, allocations: 0 / 1.37 GB, free: 14.7 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat does not exist to compare? outputFormat=mat