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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.0008837/0.0008834, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008474/0.0008475, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.2 MB / 240 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.648/2.648, allocations: 390.4 MB / 0.6655 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004066, allocations: 12 kB / 0.8149 GB, free: 14.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7998/0.8002, allocations: 142.3 MB / 0.9539 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.0008122/0.801, allocations: 391.2 kB / 0.9542 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009023/0.802, allocations: 0.8015 MB / 0.955 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.802, allocations: 0 / 0.955 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.802, allocations: 3.938 kB / 0.955 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.366e-05/0.8021, allocations: 1.219 kB / 0.955 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.8022, allocations: 9.516 kB / 0.955 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.054e-05/0.8023, allocations: 15.28 kB / 0.9551 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.848e-05/0.8024, allocations: 11.34 kB / 0.9551 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.108e-05/0.8025, allocations: 7.125 kB / 0.9551 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.023e-05/0.8025, allocations: 10.11 kB / 0.9551 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.8025, allocations: 5.031 kB / 0.9551 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-06/0.8025, allocations: 1.156 kB / 0.9551 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.8026, allocations: 5.156 kB / 0.9551 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.8026, allocations: 26.64 kB / 0.9551 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.212e-05/0.8026, allocations: 11.16 kB / 0.9551 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.8026, allocations: 0 / 0.9551 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8027, allocations: 1.094 kB / 0.9551 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.8027, allocations: 3.938 kB / 0.9551 GB, free: 7.113 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.0003259/0.803, allocations: 345.5 kB / 0.9555 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.803, allocations: 9.5 kB / 0.9555 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.883e-05/0.8031, allocations: 32 kB / 0.9555 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.8031, allocations: 5.484 kB / 0.9555 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.292e-05/0.8032, allocations: 163.1 kB / 0.9557 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.8032, allocations: 1.156 kB / 0.9557 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.8032, allocations: 1.125 kB / 0.9557 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.8034, allocations: 57.73 kB / 0.9557 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.8034, allocations: 1.219 kB / 0.9557 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.8034, allocations: 0 / 0.9557 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.8034, allocations: 3.938 kB / 0.9557 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.8036, allocations: 47.95 kB / 0.9558 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.8039, allocations: 249.2 kB / 0.956 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.804, allocations: 39.81 kB / 0.956 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.922e-05/0.8041, allocations: 32.19 kB / 0.9561 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.8041, allocations: 0 / 0.9561 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.8042, allocations: 32.09 kB / 0.9561 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.8042, allocations: 0 / 0.9561 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003302/0.8045, allocations: 110.4 kB / 0.9562 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.8045, allocations: 52.53 kB / 0.9563 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.111e-05/0.8046, allocations: 102.1 kB / 0.9564 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.8046, allocations: 26.83 kB / 0.9564 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.8046, allocations: 85.2 kB / 0.9565 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.8047, allocations: 9.281 kB / 0.9565 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.8047, allocations: 4 kB / 0.9565 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.8047, allocations: 320 kB / 0.9568 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.8048, allocations: 17.52 kB / 0.9568 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/0.8049, allocations: 21.83 kB / 0.9568 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.344e-05/0.805, allocations: 22.95 kB / 0.9568 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.805, allocations: 0 / 0.9568 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001966/0.8052, allocations: 82 kB / 0.9569 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.8052, allocations: 5.344 kB / 0.9569 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.8052, allocations: 0 / 0.9569 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.8052, allocations: 5.203 kB / 0.9569 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.363e-05/0.8053, allocations: 11.92 kB / 0.9569 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.8053, allocations: 0 / 0.9569 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.007e-05/0.8054, allocations: 14.36 kB / 0.957 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.8054, allocations: 0.9375 kB / 0.957 GB, free: 5.281 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.64e-05/0.8055, allocations: 111.8 kB / 0.9571 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.8055, allocations: 1.125 kB / 0.9571 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.8055, allocations: 4.125 kB / 0.9571 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.8055, allocations: 192 / 0.9571 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.8055, allocations: 4.859 kB / 0.9571 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8056, allocations: 3.984 kB / 0.9571 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.8057, allocations: 166.8 kB / 0.9572 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8057, allocations: 0 / 0.9572 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.8057, allocations: 16.34 kB / 0.9573 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.8058, allocations: 0 / 0.9573 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.8058, allocations: 5.062 kB / 0.9573 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.8058, allocations: 0 / 0.9573 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.8058, allocations: 5.078 kB / 0.9573 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.806, allocations: 176.2 kB / 0.9574 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.806, allocations: 82.31 kB / 0.9575 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.8061, allocations: 1.219 kB / 0.9575 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.8061, allocations: 5.031 kB / 0.9575 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.8062, allocations: 9.797 kB / 0.9575 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.8062, allocations: 1.219 kB / 0.9575 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.8062, allocations: 86.61 kB / 0.9576 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8062, allocations: 0 / 0.9576 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002133/0.8065, allocations: 2.875 kB / 0.9576 GB, free: 4.586 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 (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.0004138/0.8069, allocations: 0.7046 MB / 0.9583 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001861/0.8071, allocations: 47.77 kB / 0.9583 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8071, allocations: 8.031 kB / 0.9584 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.038e-05/0.8072, allocations: 24.05 kB / 0.9584 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.8075, allocations: 4.703 kB / 0.9584 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.8078, allocations: 136.2 kB / 0.9585 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.8079, allocations: 0.6806 MB / 0.9592 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.339e-05/0.808, allocations: 1.469 kB / 0.9592 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.808, allocations: 11.44 kB / 0.9592 GB, free: 3 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.808, allocations: 0 / 0.9592 GB, free: 3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01142/0.8194, allocations: 1.008 MB / 0.9602 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/0.8196, allocations: 196.3 kB / 0.9604 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.481, allocations: 0 / 0.9604 GB, free: 2.293 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat does not exist to compare? outputFormat=mat