Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",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.001041/0.001041, allocations: 86.41 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.001265/0.001265, 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.493/1.493, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.642/2.642, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004654, allocations: 8 kB / 0.8378 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8172/0.8177, allocations: 146.8 MB / 0.9812 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0008348/0.8186, allocations: 399.7 kB / 0.9815 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.8199, allocations: 1.131 MB / 0.9826 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.8199, allocations: 0 / 0.9826 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.298e-05/0.82, allocations: 4 kB / 0.9826 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.134e-05/0.82, allocations: 11.91 kB / 0.9827 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.8205, allocations: 122.8 kB / 0.9828 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.8206, allocations: 115.7 kB / 0.9829 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.69e-05/0.8207, allocations: 15.97 kB / 0.9829 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.564e-05/0.8208, allocations: 47.91 kB / 0.9829 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.259e-05/0.8209, allocations: 43.88 kB / 0.983 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.8209, allocations: 12 kB / 0.983 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.131e-05/0.821, allocations: 15.98 kB / 0.983 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.821, allocations: 19.92 kB / 0.983 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.597e-05/0.8211, allocations: 41.69 kB / 0.9831 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.8212, allocations: 86.05 kB / 0.9832 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.8212, allocations: 0 / 0.9832 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8212, allocations: 0 / 0.9832 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.8212, allocations: 0 / 0.9832 GB, free: 4.191 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004991/0.8217, allocations: 404.8 kB / 0.9835 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.8218, allocations: 12.03 kB / 0.9836 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.056e-05/0.8218, allocations: 34.5 kB / 0.9836 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.8219, allocations: 15.98 kB / 0.9836 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.8222, allocations: 214.9 kB / 0.9838 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.8223, allocations: 8 kB / 0.9838 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.8223, allocations: 19.92 kB / 0.9838 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.8225, allocations: 89.58 kB / 0.9839 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.8225, allocations: 0 / 0.9839 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.8225, allocations: 0 / 0.9839 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.8225, allocations: 4 kB / 0.9839 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.503e-05/0.8226, allocations: 43.91 kB / 0.984 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/0.8232, allocations: 364.6 kB / 0.9843 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.8233, allocations: 90.53 kB / 0.9844 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.84e-05/0.8234, allocations: 40.84 kB / 0.9844 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.8234, allocations: 0 / 0.9844 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.8237, allocations: 135.2 kB / 0.9846 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.8237, allocations: 0 / 0.9846 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0003448/0.824, allocations: 192.5 kB / 0.9847 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.8241, allocations: 63.39 kB / 0.9848 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.8242, allocations: 113.8 kB / 0.9849 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.8242, allocations: 37.64 kB / 0.985 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.8242, allocations: 84.14 kB / 0.985 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.8243, allocations: 43.69 kB / 0.9851 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.409e-05/0.8243, allocations: 4 kB / 0.9851 GB, free: 2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.8244, allocations: 322.8 kB / 0.9854 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.369e-05/0.8245, allocations: 43.98 kB / 0.9854 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.8246, allocations: 91.3 kB / 0.9855 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.8247, allocations: 73.7 kB / 0.9856 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8247, allocations: 0 / 0.9856 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003127/0.8251, allocations: 211.1 kB / 0.9858 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.8251, allocations: 41.62 kB / 0.9858 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.8251, allocations: 0 / 0.9858 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.8251, allocations: 4 kB / 0.9858 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.8252, allocations: 8 kB / 0.9858 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.8252, allocations: 4.062 kB / 0.9858 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.8254, allocations: 51.95 kB / 0.9859 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.8255, allocations: 4 kB / 0.9859 GB, free: 1.117 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 9.717e-05/0.8256, allocations: 141.7 kB / 0.986 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.8256, allocations: 7.906 kB / 0.986 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.8256, allocations: 12.48 kB / 0.9861 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.8256, allocations: 4 kB / 0.9861 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.8256, allocations: 3.938 kB / 0.9861 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8256, allocations: 0 / 0.9861 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.826, allocations: 430.4 kB / 0.9865 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.826, allocations: 0 / 0.9865 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.8261, allocations: 11.98 kB / 0.9865 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.8261, allocations: 4 kB / 0.9865 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.8261, allocations: 0 / 0.9865 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.8261, allocations: 4 kB / 0.9865 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8261, allocations: 0 / 0.9865 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.8264, allocations: 269.8 kB / 0.9867 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/0.8264, allocations: 81.02 kB / 0.9868 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.8265, allocations: 12 kB / 0.9868 GB, free: 56 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.821e-05/0.8266, allocations: 11.98 kB / 0.9868 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.8266, allocations: 15.97 kB / 0.9869 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.8266, allocations: 8 kB / 0.9869 GB, free: 20 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.549e-05/0.8267, allocations: 87.27 kB / 0.987 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8267, allocations: 0 / 0.987 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002673/0.827, allocations: 32 kB / 0.987 GB, free: 15.9 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005292/0.8275, allocations: 0.806 MB / 0.9878 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002787/0.8278, allocations: 191.3 kB / 0.988 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8278, allocations: 0 / 0.988 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.8279, allocations: 75.91 kB / 0.988 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.8282, allocations: 17 kB / 0.988 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.8293, allocations: 0.6803 MB / 0.9887 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.8295, allocations: 0.6965 MB / 0.9894 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.655e-05/0.8296, allocations: 4.562 kB / 0.9894 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.8296, allocations: 23.48 kB / 0.9894 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of SimCode: time 5.31e-07/0.8296, allocations: 0 / 0.9894 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.8424, allocations: 2.427 MB / 0.9918 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.8427, allocations: 212 kB / 0.992 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.644, allocations: 3.031 kB / 0.992 GB, free: 10.82 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat does not exist to compare? outputFormat=mat