Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",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.001007/0.001007, allocations: 100 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.001142/0.001142, 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.464/1.464, 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.512/2.512, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003832, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7833/0.7837, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.001118/0.7849, allocations: 392.1 kB / 0.954 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.786, allocations: 0.7941 MB / 0.9548 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.786, allocations: 0 / 0.9548 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.045e-05/0.786, allocations: 3.938 kB / 0.9548 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.613e-05/0.7861, allocations: 5.109 kB / 0.9548 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.7862, allocations: 2.562 kB / 0.9548 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.044e-05/0.7863, allocations: 11.86 kB / 0.9548 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.43e-05/0.7864, allocations: 15.05 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.814e-05/0.7865, allocations: 2.25 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.7865, allocations: 14.58 kB / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.7865, allocations: 1.344 kB / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-06/0.7865, allocations: 1.281 kB / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.7866, allocations: 0 / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.7866, allocations: 26.92 kB / 0.9548 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.934e-05/0.7866, allocations: 15.77 kB / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.7866, allocations: 0 / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.946e-06/0.7867, allocations: 0 / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.7867, allocations: 9.25 kB / 0.9549 GB, free: 7.07 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.0003587/0.787, allocations: 337.7 kB / 0.9552 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.7871, allocations: 8.375 kB / 0.9552 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.7871, allocations: 32.03 kB / 0.9552 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.218e-05/0.7871, allocations: 5.547 kB / 0.9552 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.346e-05/0.7872, allocations: 164.2 kB / 0.9554 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.7872, allocations: 4 kB / 0.9554 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.7873, allocations: 5.125 kB / 0.9554 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.7874, allocations: 54.64 kB / 0.9554 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.7875, allocations: 0 / 0.9554 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.7875, allocations: 0 / 0.9554 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.7875, allocations: 1.281 kB / 0.9555 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.7877, allocations: 55.17 kB / 0.9555 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.7879, allocations: 245.9 kB / 0.9557 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.7881, allocations: 43.38 kB / 0.9558 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.7881, allocations: 1.281 kB / 0.9558 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.7881, allocations: 30.56 kB / 0.9558 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7881, allocations: 4.969 kB / 0.9558 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003619/0.7885, allocations: 110.9 kB / 0.9559 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.7885, allocations: 51.41 kB / 0.956 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.7886, allocations: 99.34 kB / 0.9561 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.7886, allocations: 25.7 kB / 0.9561 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.7886, allocations: 85.33 kB / 0.9562 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.7886, allocations: 9.406 kB / 0.9562 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.7887, allocations: 4.125 kB / 0.9562 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.698e-05/0.7887, allocations: 312.3 kB / 0.9565 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.521e-05/0.7888, allocations: 25.47 kB / 0.9565 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.422e-05/0.7889, allocations: 18.36 kB / 0.9565 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.076e-05/0.789, allocations: 26.48 kB / 0.9565 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.789, allocations: 0 / 0.9565 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001819/0.7892, allocations: 81.22 kB / 0.9566 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.7892, allocations: 6.125 kB / 0.9566 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.7892, allocations: 1.344 kB / 0.9566 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.7892, allocations: 0 / 0.9566 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.106e-05/0.7893, allocations: 16.84 kB / 0.9566 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.7893, allocations: 0 / 0.9566 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.7894, allocations: 6.438 kB / 0.9567 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.7894, allocations: 1.469 kB / 0.9567 GB, free: 5.266 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 6.021e-05/0.7894, allocations: 119.3 kB / 0.9568 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.7895, allocations: 1.5 kB / 0.9568 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.7897, allocations: 79.38 kB / 0.9568 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.7897, allocations: 4.031 kB / 0.9569 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7897, allocations: 9.391 kB / 0.9569 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7897, allocations: 0 / 0.9569 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.7898, allocations: 154.3 kB / 0.957 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.7899, allocations: 0 / 0.957 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.974e-05/0.7899, allocations: 12.45 kB / 0.957 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.247e-06/0.7899, allocations: 5.391 kB / 0.957 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.79, allocations: 3.938 kB / 0.957 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.79, allocations: 0 / 0.957 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.79, allocations: 1.438 kB / 0.957 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.7902, allocations: 180.3 kB / 0.9572 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.7902, allocations: 78.17 kB / 0.9573 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.7902, allocations: 3.984 kB / 0.9573 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.7903, allocations: 10.03 kB / 0.9573 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.7903, allocations: 1.562 kB / 0.9573 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.7904, allocations: 5.422 kB / 0.9573 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.489e-05/0.7904, allocations: 86.5 kB / 0.9574 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7904, allocations: 0 / 0.9574 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002094/0.7906, allocations: 10.83 kB / 0.9574 GB, free: 4.512 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.0004025/0.791, allocations: 0.7017 MB / 0.9581 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.7912, allocations: 50.58 kB / 0.9581 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7912, allocations: 0 / 0.9581 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.7913, allocations: 28.14 kB / 0.9581 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.7916, allocations: 6.562 kB / 0.9582 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.7919, allocations: 130.6 kB / 0.9583 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.792, allocations: 0.6773 MB / 0.9589 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.988e-05/0.7921, allocations: 1.375 kB / 0.9589 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.7921, allocations: 8.969 kB / 0.959 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7921, allocations: 0 / 0.959 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009791/0.8019, allocations: 0.9939 MB / 0.9599 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001288/0.8021, allocations: 187.5 kB / 0.9601 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.425, allocations: 0 / 0.9601 GB, free: 2.238 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat does not exist to compare? outputFormat=mat