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.00126/0.00126, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001545/0.001545, allocations: 177.3 kB / 15.94 MB, free: 228 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.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.336 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.345/2.345, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003666, allocations: 12 kB / 0.8146 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8042/0.8046, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.00112/0.8058, allocations: 387.4 kB / 0.954 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.8068, allocations: 0.8038 MB / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.8068, allocations: 0 / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.8069, allocations: 0 / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.643e-05/0.807, allocations: 5.25 kB / 0.9548 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.8071, allocations: 6.344 kB / 0.9548 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.848e-05/0.8072, allocations: 19.69 kB / 0.9548 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.8073, allocations: 2.281 kB / 0.9548 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.173e-05/0.8074, allocations: 11.73 kB / 0.9548 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.983e-05/0.8075, allocations: 5.938 kB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.8075, allocations: 1.219 kB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.8075, allocations: 1.219 kB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.8075, allocations: 9.078 kB / 0.9548 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.8076, allocations: 27.23 kB / 0.9548 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.979e-05/0.8077, allocations: 18.77 kB / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.8077, allocations: 0 / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8077, allocations: 0 / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.8077, allocations: 1.156 kB / 0.9549 GB, free: 7.031 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.000477/0.8082, allocations: 337.5 kB / 0.9552 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.8082, allocations: 12.59 kB / 0.9552 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.508e-05/0.8083, allocations: 31.66 kB / 0.9552 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.8083, allocations: 9.078 kB / 0.9552 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.8084, allocations: 160.2 kB / 0.9554 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.8085, allocations: 0.9375 kB / 0.9554 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.8085, allocations: 5.969 kB / 0.9554 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.8087, allocations: 53.17 kB / 0.9555 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.8087, allocations: 0 / 0.9555 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.8087, allocations: 1.375 kB / 0.9555 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.8087, allocations: 11.92 kB / 0.9555 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.8089, allocations: 48.41 kB / 0.9555 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.8093, allocations: 240.5 kB / 0.9557 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.8094, allocations: 49.06 kB / 0.9558 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.8095, allocations: 0 / 0.9558 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.8095, allocations: 35.95 kB / 0.9558 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.8095, allocations: 0 / 0.9558 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003681/0.8099, allocations: 102 kB / 0.9559 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.8099, allocations: 56.98 kB / 0.956 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.617e-05/0.81, allocations: 97.58 kB / 0.9561 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.81, allocations: 34.73 kB / 0.9561 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.81, allocations: 81.14 kB / 0.9562 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.8101, allocations: 12.88 kB / 0.9562 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.8101, allocations: 0 / 0.9562 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.8101, allocations: 315.8 kB / 0.9565 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.27e-05/0.8102, allocations: 18.61 kB / 0.9565 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.641e-05/0.8103, allocations: 25.83 kB / 0.9565 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.306e-05/0.8104, allocations: 18.55 kB / 0.9565 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8104, allocations: 0 / 0.9565 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001895/0.8106, allocations: 81.47 kB / 0.9566 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.8106, allocations: 7.031 kB / 0.9566 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.8106, allocations: 0 / 0.9566 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.8106, allocations: 5.094 kB / 0.9566 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.8107, allocations: 15.84 kB / 0.9567 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.8107, allocations: 0 / 0.9567 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.8108, allocations: 14.61 kB / 0.9567 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.8108, allocations: 1 kB / 0.9567 GB, free: 5.215 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.942e-05/0.8109, allocations: 110.9 kB / 0.9568 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.8109, allocations: 2.188 kB / 0.9568 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.8111, allocations: 83.16 kB / 0.9569 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.8111, allocations: 1.062 kB / 0.9569 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.8112, allocations: 3.953 kB / 0.9569 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8112, allocations: 1.125 kB / 0.9569 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.8113, allocations: 161.8 kB / 0.957 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8113, allocations: 0 / 0.957 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.8114, allocations: 8.938 kB / 0.957 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8114, allocations: 3.938 kB / 0.957 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.8114, allocations: 8.922 kB / 0.957 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8114, allocations: 0 / 0.957 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8114, allocations: 1.125 kB / 0.957 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.8116, allocations: 184.5 kB / 0.9572 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.8116, allocations: 77.11 kB / 0.9573 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.8117, allocations: 1.281 kB / 0.9573 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.8117, allocations: 6.469 kB / 0.9573 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.8118, allocations: 5.359 kB / 0.9573 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.8118, allocations: 0 / 0.9573 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.589e-05/0.8118, allocations: 82.78 kB / 0.9574 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8118, allocations: 0 / 0.9574 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002182/0.8121, allocations: 12.08 kB / 0.9574 GB, free: 4.473 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.000402/0.8125, allocations: 0.7046 MB / 0.9581 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.8127, allocations: 46.89 kB / 0.9581 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.8127, allocations: 0 / 0.9581 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.507e-05/0.8128, allocations: 24.11 kB / 0.9581 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.813, allocations: 6.406 kB / 0.9582 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.8134, allocations: 130.2 kB / 0.9583 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.8135, allocations: 0.6822 MB / 0.9589 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.412e-05/0.8135, allocations: 9.453 kB / 0.959 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.8136, allocations: 8.906 kB / 0.959 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.8136, allocations: 0 / 0.959 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/0.8256, allocations: 0.9941 MB / 0.9599 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.8258, allocations: 184.4 kB / 0.9601 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.465, allocations: 3.938 kB / 0.9601 GB, free: 2.191 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