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.001203/0.001203, allocations: 99.08 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.00143/0.00143, allocations: 177.3 kB / 15.94 MB, free: 220 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.412/1.412, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.42/2.42, allocations: 390.3 MB / 0.6653 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003301, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7043/0.7046, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.0008815/0.7056, allocations: 423.9 kB / 0.954 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007927/0.7064, allocations: 0.8003 MB / 0.9548 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.7064, allocations: 1.094 kB / 0.9548 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.7064, allocations: 3.938 kB / 0.9548 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.534e-05/0.7065, allocations: 13.03 kB / 0.9548 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.897e-05/0.7066, allocations: 10.16 kB / 0.9548 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.576e-05/0.7067, allocations: 23.78 kB / 0.9548 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.7068, allocations: 12.05 kB / 0.9549 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.462e-05/0.7069, allocations: 17.58 kB / 0.9549 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.871e-05/0.7069, allocations: 16.7 kB / 0.9549 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.707, allocations: 2.969 kB / 0.9549 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.15e-05/0.707, allocations: 1.156 kB / 0.9549 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.707, allocations: 1.062 kB / 0.9549 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.707, allocations: 39.27 kB / 0.9549 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.006e-05/0.7071, allocations: 26.39 kB / 0.955 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.7071, allocations: 0 / 0.955 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7071, allocations: 0 / 0.955 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.7071, allocations: 0 / 0.955 GB, free: 6.965 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.0004512/0.7076, allocations: 373.1 kB / 0.9553 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.7076, allocations: 8.875 kB / 0.9553 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.723e-05/0.7077, allocations: 35.66 kB / 0.9553 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.7077, allocations: 10.08 kB / 0.9554 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.619e-05/0.7078, allocations: 161.1 kB / 0.9555 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.7078, allocations: 1.094 kB / 0.9555 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.7078, allocations: 6.125 kB / 0.9555 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.7081, allocations: 88.55 kB / 0.9556 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.7081, allocations: 0 / 0.9556 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.7081, allocations: 0 / 0.9556 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.7081, allocations: 1.188 kB / 0.9556 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.7084, allocations: 90.91 kB / 0.9557 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.7087, allocations: 266.8 kB / 0.9559 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.7089, allocations: 67.08 kB / 0.956 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.709, allocations: 0 / 0.956 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.709, allocations: 36.12 kB / 0.956 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.709, allocations: 4 kB / 0.956 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005401/0.7095, allocations: 162.7 kB / 0.9562 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.7096, allocations: 52.53 kB / 0.9563 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.659e-05/0.7096, allocations: 107.2 kB / 0.9564 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.7097, allocations: 25.7 kB / 0.9564 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.7097, allocations: 90.42 kB / 0.9565 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.7097, allocations: 16.89 kB / 0.9565 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.7097, allocations: 3.938 kB / 0.9565 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.7098, allocations: 316 kB / 0.9568 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.7099, allocations: 43.81 kB / 0.9568 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.7101, allocations: 42.8 kB / 0.9569 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.7102, allocations: 43.44 kB / 0.9569 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7102, allocations: 0 / 0.9569 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003187/0.7106, allocations: 124.6 kB / 0.957 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.7106, allocations: 6.688 kB / 0.957 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.7106, allocations: 3.938 kB / 0.957 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.7106, allocations: 5.484 kB / 0.957 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.7108, allocations: 18.89 kB / 0.9571 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.7108, allocations: 0 / 0.9571 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.102e-05/0.7109, allocations: 19.8 kB / 0.9571 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.7109, allocations: 1.094 kB / 0.9571 GB, free: 5.008 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.7e-05/0.7109, allocations: 120.3 kB / 0.9572 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.711, allocations: 5.094 kB / 0.9572 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.7113, allocations: 128.5 kB / 0.9573 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.7114, allocations: 4 kB / 0.9573 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.7114, allocations: 9.328 kB / 0.9573 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.7114, allocations: 3.938 kB / 0.9573 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.7115, allocations: 165.6 kB / 0.9575 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.7115, allocations: 0 / 0.9575 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.571e-05/0.7116, allocations: 23.78 kB / 0.9575 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.7116, allocations: 0 / 0.9575 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.7116, allocations: 5.406 kB / 0.9575 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7116, allocations: 0 / 0.9575 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7116, allocations: 4 kB / 0.9575 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.712, allocations: 215.4 kB / 0.9577 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.712, allocations: 82.52 kB / 0.9578 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.712, allocations: 4.797 kB / 0.9578 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.7121, allocations: 19.42 kB / 0.9578 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.7122, allocations: 2.219 kB / 0.9578 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.7122, allocations: 5.094 kB / 0.9578 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.338e-05/0.7122, allocations: 97.2 kB / 0.9579 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7122, allocations: 1.344 kB / 0.9579 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002104/0.7125, allocations: 5.562 kB / 0.9579 GB, free: 4.195 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.0005163/0.713, allocations: 0.7471 MB / 0.9587 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.7133, allocations: 89.86 kB / 0.9588 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.7133, allocations: 4 kB / 0.9588 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.7135, allocations: 42.47 kB / 0.9588 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.7137, allocations: 7.578 kB / 0.9588 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.7141, allocations: 167.9 kB / 0.959 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.7142, allocations: 0.685 MB / 0.9596 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.711e-05/0.7143, allocations: 1.594 kB / 0.9596 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.7143, allocations: 20.72 kB / 0.9597 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.7143, allocations: 1.312 kB / 0.9597 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01061/0.7249, allocations: 1.264 MB / 0.9609 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001234/0.7251, allocations: 179.8 kB / 0.9611 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.468, allocations: 3.938 kB / 0.9611 GB, free: 1.723 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