Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Max,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",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.0009671/0.000967, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.00121/0.001211, allocations: 168.7 kB / 15.95 MB, free: 204 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.422 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.438/2.438, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 16 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7238/0.7242, allocations: 142.3 MB / 0.9539 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.0008083/0.725, allocations: 426.2 kB / 0.9543 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008104/0.7259, allocations: 0.7964 MB / 0.9551 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.7259, allocations: 1.156 kB / 0.9551 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.7259, allocations: 0 / 0.9551 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/0.726, allocations: 5.031 kB / 0.9551 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.294e-05/0.7261, allocations: 9.891 kB / 0.9551 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.301e-05/0.7262, allocations: 38.67 kB / 0.9551 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.7263, allocations: 16.95 kB / 0.9551 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.01e-05/0.7263, allocations: 16.53 kB / 0.9551 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.763e-05/0.7264, allocations: 17.02 kB / 0.9552 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.7264, allocations: 6 kB / 0.9552 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/0.7264, allocations: 1.938 kB / 0.9552 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.7265, allocations: 8.891 kB / 0.9552 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.7265, allocations: 31.8 kB / 0.9552 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.185e-05/0.7265, allocations: 25.5 kB / 0.9552 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.7265, allocations: 5.625 kB / 0.9552 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7266, allocations: 4 kB / 0.9552 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.7266, allocations: 0 / 0.9552 GB, free: 6.953 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003825/0.727, allocations: 363.9 kB / 0.9556 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.727, allocations: 9.969 kB / 0.9556 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.367e-05/0.727, allocations: 34.56 kB / 0.9556 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.7271, allocations: 10.23 kB / 0.9556 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.957e-05/0.7271, allocations: 165.7 kB / 0.9558 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.7271, allocations: 9.25 kB / 0.9558 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.7272, allocations: 5.203 kB / 0.9558 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.7274, allocations: 77 kB / 0.9559 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.7274, allocations: 0 / 0.9559 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.7274, allocations: 5.312 kB / 0.9559 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.7274, allocations: 0 / 0.9559 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.7277, allocations: 94.47 kB / 0.956 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.728, allocations: 267.6 kB / 0.9562 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.7282, allocations: 66.36 kB / 0.9563 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.7283, allocations: 48.16 kB / 0.9563 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.7284, allocations: 5 kB / 0.9563 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.7284, allocations: 35.94 kB / 0.9564 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.7284, allocations: 0 / 0.9564 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004996/0.7289, allocations: 163.2 kB / 0.9565 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.7289, allocations: 59.41 kB / 0.9566 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.588e-05/0.729, allocations: 108.7 kB / 0.9567 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.729, allocations: 25.7 kB / 0.9567 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.532e-05/0.729, allocations: 85.77 kB / 0.9568 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.729, allocations: 12.78 kB / 0.9568 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.729, allocations: 0 / 0.9568 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.344e-05/0.7291, allocations: 320.2 kB / 0.9571 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.7292, allocations: 43.62 kB / 0.9572 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.7294, allocations: 42.8 kB / 0.9572 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.7295, allocations: 47.69 kB / 0.9572 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7295, allocations: 0 / 0.9572 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000298/0.7298, allocations: 120.8 kB / 0.9574 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.7298, allocations: 6.719 kB / 0.9574 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7299, allocations: 0 / 0.9574 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.7299, allocations: 3.953 kB / 0.9574 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.73, allocations: 27.03 kB / 0.9574 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.73, allocations: 1.25 kB / 0.9574 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.7301, allocations: 16.11 kB / 0.9574 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.7301, allocations: 0 / 0.9574 GB, free: 4.973 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 (3): * Single equations (assignments): 3 * 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.793e-05/0.7302, allocations: 112.7 kB / 0.9575 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.7302, allocations: 9.25 kB / 0.9575 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003532/0.7306, allocations: 132.3 kB / 0.9577 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.7306, allocations: 3.953 kB / 0.9577 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.7306, allocations: 0.7812 kB / 0.9577 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.7306, allocations: 4.359 kB / 0.9577 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.7307, allocations: 165.4 kB / 0.9578 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7307, allocations: 1.281 kB / 0.9578 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.435e-05/0.7308, allocations: 22.23 kB / 0.9578 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.7308, allocations: 1.094 kB / 0.9578 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.7309, allocations: 0 / 0.9578 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7309, allocations: 1 kB / 0.9578 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7309, allocations: 7.938 kB / 0.9579 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.7312, allocations: 220.5 kB / 0.9581 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.7312, allocations: 82.14 kB / 0.9581 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.7312, allocations: 1.281 kB / 0.9581 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.7313, allocations: 23.08 kB / 0.9582 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.7314, allocations: 10.27 kB / 0.9582 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.7314, allocations: 5.016 kB / 0.9582 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.707e-05/0.7314, allocations: 89.59 kB / 0.9583 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7314, allocations: 0 / 0.9583 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002178/0.7316, allocations: 9.625 kB / 0.9583 GB, free: 4.16 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 (3): * Single equations (assignments): 3 * 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.0004893/0.7321, allocations: 0.7477 MB / 0.959 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.7324, allocations: 93.55 kB / 0.9591 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.7324, allocations: 0 / 0.9591 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.7326, allocations: 42.75 kB / 0.9591 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.7329, allocations: 11.75 kB / 0.9591 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.7333, allocations: 165.7 kB / 0.9593 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.7334, allocations: 0.6796 MB / 0.96 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.119e-05/0.7334, allocations: 6 kB / 0.96 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.7335, allocations: 16.61 kB / 0.96 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of SimCode: time 9.92e-07/0.7335, allocations: 0 / 0.96 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.7447, allocations: 1.289 MB / 0.9612 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/0.7449, allocations: 194 kB / 0.9614 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.444, allocations: 1.312 kB / 0.9614 GB, free: 1.672 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat does not exist to compare? outputFormat=mat