Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Tan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",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.001013/0.001012, 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.001263/0.001263, 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.357/1.357, allocations: 223.3 MB / 240 MB, free: 5.426 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.467/2.467, allocations: 390.4 MB / 0.6655 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6715/0.6719, allocations: 142.3 MB / 0.9539 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.000699/0.6726, allocations: 398.4 kB / 0.9542 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006864/0.6733, allocations: 0.7991 MB / 0.955 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.6733, allocations: 0 / 0.955 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.6733, allocations: 3.938 kB / 0.955 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/0.6734, allocations: 1.312 kB / 0.955 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.6735, allocations: 5.219 kB / 0.955 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.229e-05/0.6736, allocations: 20.52 kB / 0.9551 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.276e-05/0.6737, allocations: 11.02 kB / 0.9551 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.767e-05/0.6737, allocations: 10.64 kB / 0.9551 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.6738, allocations: 6.906 kB / 0.9551 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.6738, allocations: 0 / 0.9551 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.6738, allocations: 1.062 kB / 0.9551 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.267e-06/0.6738, allocations: 5.031 kB / 0.9551 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.766e-05/0.6738, allocations: 31.31 kB / 0.9551 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.258e-05/0.6739, allocations: 11.12 kB / 0.9551 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6739, allocations: 3.938 kB / 0.9551 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6739, allocations: 4 kB / 0.9551 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.005e-06/0.6739, allocations: 1.469 kB / 0.9551 GB, free: 7.285 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.000299/0.6742, allocations: 343.1 kB / 0.9555 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.6742, allocations: 9.531 kB / 0.9555 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.195e-05/0.6743, allocations: 30.56 kB / 0.9555 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.6743, allocations: 9.656 kB / 0.9555 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.48e-05/0.6744, allocations: 160.1 kB / 0.9557 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.6744, allocations: 5.062 kB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.6744, allocations: 1.312 kB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.6746, allocations: 53.36 kB / 0.9557 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.6746, allocations: 4.438 kB / 0.9557 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.6746, allocations: 1 kB / 0.9557 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.6746, allocations: 0 / 0.9557 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.6747, allocations: 56.72 kB / 0.9558 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.675, allocations: 241.4 kB / 0.956 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.6751, allocations: 42.62 kB / 0.9561 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.697e-05/0.6752, allocations: 32.05 kB / 0.9561 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.6752, allocations: 0 / 0.9561 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.055e-05/0.6752, allocations: 31.66 kB / 0.9561 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.6752, allocations: 1.031 kB / 0.9561 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003092/0.6755, allocations: 110.3 kB / 0.9562 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.6756, allocations: 52.59 kB / 0.9563 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.348e-05/0.6756, allocations: 102.8 kB / 0.9564 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-06/0.6756, allocations: 25.7 kB / 0.9564 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.115e-05/0.6757, allocations: 84.81 kB / 0.9565 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.6757, allocations: 12.97 kB / 0.9565 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.6757, allocations: 1.312 kB / 0.9565 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.568e-05/0.6757, allocations: 314.8 kB / 0.9568 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/0.6758, allocations: 22.64 kB / 0.9568 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.77e-05/0.6759, allocations: 25.94 kB / 0.9568 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.043e-05/0.676, allocations: 18.23 kB / 0.9569 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.676, allocations: 0 / 0.9569 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001681/0.6761, allocations: 78.36 kB / 0.9569 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.6762, allocations: 8.922 kB / 0.9569 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.6762, allocations: 0 / 0.9569 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.6762, allocations: 4.828 kB / 0.9569 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.757e-05/0.6763, allocations: 8.594 kB / 0.957 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.6763, allocations: 4.031 kB / 0.957 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.6763, allocations: 10.33 kB / 0.957 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.6763, allocations: 1.25 kB / 0.957 GB, free: 5.457 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 4.357e-05/0.6764, allocations: 110.8 kB / 0.9571 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.6764, allocations: 2.125 kB / 0.9571 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.6766, allocations: 88.22 kB / 0.9572 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.6766, allocations: 3.984 kB / 0.9572 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.6766, allocations: 3.953 kB / 0.9572 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.6766, allocations: 1.375 kB / 0.9572 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.6768, allocations: 162 kB / 0.9573 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6768, allocations: 0 / 0.9573 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-05/0.6768, allocations: 20.17 kB / 0.9573 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6768, allocations: 1.219 kB / 0.9573 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.6768, allocations: 0 / 0.9573 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6768, allocations: 0 / 0.9573 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.6769, allocations: 1.156 kB / 0.9573 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.677, allocations: 176.3 kB / 0.9575 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.6771, allocations: 82.44 kB / 0.9576 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.6771, allocations: 4 kB / 0.9576 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.6772, allocations: 10.14 kB / 0.9576 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.6772, allocations: 5.125 kB / 0.9576 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.6772, allocations: 1.125 kB / 0.9576 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.956e-05/0.6772, allocations: 91 kB / 0.9577 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6772, allocations: 0 / 0.9577 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002109/0.6774, allocations: 4 kB / 0.9577 GB, free: 4.703 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.0003484/0.6778, allocations: 0.7005 MB / 0.9584 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.678, allocations: 46.53 kB / 0.9584 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.678, allocations: 4.094 kB / 0.9584 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.45e-05/0.6781, allocations: 32.25 kB / 0.9585 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.6783, allocations: 5.266 kB / 0.9585 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/0.6786, allocations: 130.2 kB / 0.9586 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.016e-05/0.6787, allocations: 0.6774 MB / 0.9593 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.214e-05/0.6788, allocations: 9.359 kB / 0.9593 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.6788, allocations: 12.66 kB / 0.9593 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of SimCode: time 8.02e-07/0.6788, allocations: 0 / 0.9593 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01008/0.6889, allocations: 1.001 MB / 0.9603 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001296/0.689, allocations: 189.5 kB / 0.9604 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.548, allocations: 0 / 0.9604 GB, free: 2.418 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat does not exist to compare? outputFormat=mat