Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.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.Acos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos",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.0008289/0.0008289, allocations: 91.77 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.0008553/0.0008554, 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.395/1.395, allocations: 223.2 MB / 240 MB, free: 5.445 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.411/2.411, allocations: 390.4 MB / 0.6655 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003561, allocations: 16 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7948/0.7952, allocations: 142.3 MB / 0.9539 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.0008997/0.7962, allocations: 398.4 kB / 0.9543 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009992/0.7972, allocations: 0.7961 MB / 0.955 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/0.7973, allocations: 0 / 0.955 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.7973, allocations: 3.938 kB / 0.955 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.172e-05/0.7974, allocations: 0 / 0.955 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.7975, allocations: 6.562 kB / 0.955 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.7976, allocations: 20.23 kB / 0.9551 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/0.7977, allocations: 6.516 kB / 0.9551 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.428e-05/0.7978, allocations: 18.48 kB / 0.9551 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.643e-05/0.7978, allocations: 3.125 kB / 0.9551 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.7979, allocations: 1.031 kB / 0.9551 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.7979, allocations: 1.062 kB / 0.9551 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.7979, allocations: 7.984 kB / 0.9551 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.7979, allocations: 31.14 kB / 0.9551 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.908e-05/0.798, allocations: 11.91 kB / 0.9551 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.798, allocations: 0 / 0.9551 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.798, allocations: 0 / 0.9551 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.798, allocations: 0 / 0.9551 GB, free: 7.027 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.0004117/0.7984, allocations: 348.2 kB / 0.9555 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.7985, allocations: 9.25 kB / 0.9555 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.7985, allocations: 32.12 kB / 0.9555 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.7986, allocations: 3.953 kB / 0.9555 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.539e-05/0.7986, allocations: 161.2 kB / 0.9557 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.7987, allocations: 0 / 0.9557 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.7987, allocations: 2.562 kB / 0.9557 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.7989, allocations: 57.17 kB / 0.9557 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.7989, allocations: 3.984 kB / 0.9557 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.7989, allocations: 3.938 kB / 0.9557 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.7989, allocations: 1.156 kB / 0.9557 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.7991, allocations: 55.66 kB / 0.9558 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002939/0.7994, allocations: 245.2 kB / 0.956 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.7995, allocations: 39.72 kB / 0.9561 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.323e-05/0.7996, allocations: 31.22 kB / 0.9561 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.7996, allocations: 1.188 kB / 0.9561 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.7997, allocations: 39.78 kB / 0.9561 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.7997, allocations: 0 / 0.9561 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003399/0.8, allocations: 106.3 kB / 0.9562 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.8, allocations: 52.53 kB / 0.9563 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.596e-05/0.8001, allocations: 103.1 kB / 0.9564 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.8001, allocations: 25.7 kB / 0.9564 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.8002, allocations: 85.7 kB / 0.9565 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.855e-05/0.8002, allocations: 17.08 kB / 0.9565 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.8002, allocations: 0 / 0.9565 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.8003, allocations: 315.8 kB / 0.9568 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-05/0.8003, allocations: 17.61 kB / 0.9568 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.974e-05/0.8004, allocations: 30.75 kB / 0.9568 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.501e-05/0.8005, allocations: 21.08 kB / 0.9569 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8005, allocations: 1.219 kB / 0.9569 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001859/0.8007, allocations: 78.34 kB / 0.9569 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.8007, allocations: 4.938 kB / 0.9569 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.8007, allocations: 0 / 0.9569 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.8007, allocations: 3.953 kB / 0.9569 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.629e-05/0.8008, allocations: 13.42 kB / 0.957 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.8008, allocations: 0 / 0.957 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.8009, allocations: 13.84 kB / 0.957 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.8009, allocations: 1.219 kB / 0.957 GB, free: 5.184 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.459e-05/0.801, allocations: 107.5 kB / 0.9571 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.801, allocations: 1.562 kB / 0.9571 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.8012, allocations: 91.55 kB / 0.9572 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.8012, allocations: 0 / 0.9572 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8012, allocations: 4.984 kB / 0.9572 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.8013, allocations: 0 / 0.9572 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.8014, allocations: 154 kB / 0.9573 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8014, allocations: 5.344 kB / 0.9573 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.8015, allocations: 11.67 kB / 0.9573 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.8015, allocations: 1.125 kB / 0.9573 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.8015, allocations: 0 / 0.9573 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.8015, allocations: 4.031 kB / 0.9573 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8015, allocations: 1.25 kB / 0.9573 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.8017, allocations: 184.4 kB / 0.9575 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.8017, allocations: 78.08 kB / 0.9576 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.8018, allocations: 1.125 kB / 0.9576 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.8018, allocations: 9.422 kB / 0.9576 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.8019, allocations: 1.406 kB / 0.9576 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.8019, allocations: 1.375 kB / 0.9576 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.98e-05/0.8019, allocations: 86.16 kB / 0.9577 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8019, allocations: 0 / 0.9577 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002131/0.8022, allocations: 3.906 kB / 0.9577 GB, free: 4.449 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.0005011/0.8027, allocations: 0.7048 MB / 0.9584 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.8029, allocations: 54.98 kB / 0.9584 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.8029, allocations: 0 / 0.9584 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/0.803, allocations: 28.08 kB / 0.9585 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.8033, allocations: 2.906 kB / 0.9585 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.8037, allocations: 129.9 kB / 0.9586 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.8039, allocations: 0.6772 MB / 0.9592 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.597e-05/0.8039, allocations: 4.969 kB / 0.9592 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.8039, allocations: 16.75 kB / 0.9593 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8039, allocations: 0 / 0.9593 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.8167, allocations: 1.019 MB / 0.9603 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/0.8169, allocations: 191.7 kB / 0.9604 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.581, allocations: 5.312 kB / 0.9604 GB, free: 2.145 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat does not exist to compare? outputFormat=mat