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.001213/0.001213, allocations: 100.4 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.001071/0.001071, 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.872/1.872, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.559/3.559, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.0004527, allocations: 12 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.028, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001052/1.029, allocations: 395.8 kB / 0.9813 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001813/1.031, allocations: 1.119 MB / 0.9824 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/1.031, allocations: 0 / 0.9824 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/1.031, allocations: 3.938 kB / 0.9824 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.588e-05/1.031, allocations: 7.984 kB / 0.9824 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/1.032, allocations: 130.7 kB / 0.9825 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/1.032, allocations: 67.92 kB / 0.9826 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/1.032, allocations: 11.98 kB / 0.9826 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/1.032, allocations: 47.89 kB / 0.9826 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/1.033, allocations: 47.86 kB / 0.9827 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/1.033, allocations: 8 kB / 0.9827 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.547e-05/1.033, allocations: 19.98 kB / 0.9827 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/1.033, allocations: 19.92 kB / 0.9827 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/1.033, allocations: 37.7 kB / 0.9827 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/1.033, allocations: 90.03 kB / 0.9828 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.614e-06/1.033, allocations: 7.938 kB / 0.9828 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.755e-06/1.033, allocations: 0 / 0.9828 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.991e-06/1.033, allocations: 0 / 0.9828 GB, free: 4.273 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.0007153/1.034, allocations: 400.8 kB / 0.9832 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/1.034, allocations: 8.031 kB / 0.9832 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.926e-05/1.034, allocations: 38.55 kB / 0.9833 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.048e-05/1.034, allocations: 4 kB / 0.9833 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005473/1.035, allocations: 216.6 kB / 0.9835 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/1.035, allocations: 11.98 kB / 0.9835 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/1.035, allocations: 8 kB / 0.9835 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/1.035, allocations: 93.58 kB / 0.9836 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/1.035, allocations: 0 / 0.9836 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/1.035, allocations: 0 / 0.9836 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/1.035, allocations: 4 kB / 0.9836 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/1.035, allocations: 39.91 kB / 0.9836 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000705/1.036, allocations: 376.5 kB / 0.984 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/1.036, allocations: 90.55 kB / 0.9841 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/1.036, allocations: 4.031 kB / 0.9841 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/1.036, allocations: 131.2 kB / 0.9842 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 2.084e-06/1.036, allocations: 0 / 0.9842 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0004633/1.037, allocations: 192.1 kB / 0.9844 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/1.037, allocations: 63.39 kB / 0.9844 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/1.037, allocations: 117.7 kB / 0.9846 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/1.037, allocations: 33.7 kB / 0.9846 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.698e-05/1.037, allocations: 88.14 kB / 0.9847 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.624e-05/1.037, allocations: 35.69 kB / 0.9847 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/1.037, allocations: 8 kB / 0.9847 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.037, allocations: 322.8 kB / 0.985 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/1.037, allocations: 43.98 kB / 0.9851 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/1.038, allocations: 89.75 kB / 0.9851 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/1.038, allocations: 69.7 kB / 0.9852 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.038, allocations: 8 kB / 0.9852 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003951/1.038, allocations: 215 kB / 0.9854 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.988e-05/1.038, allocations: 33.7 kB / 0.9855 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.038, allocations: 0 / 0.9855 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/1.038, allocations: 4 kB / 0.9855 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.727e-05/1.038, allocations: 11.94 kB / 0.9855 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/1.038, allocations: 3.984 kB / 0.9855 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/1.039, allocations: 48.09 kB / 0.9855 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/1.039, allocations: 8 kB / 0.9855 GB, free: 1.25 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 0.0001599/1.039, allocations: 133.7 kB / 0.9857 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/1.039, allocations: 7.906 kB / 0.9857 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/1.039, allocations: 16.48 kB / 0.9857 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.039, allocations: 4 kB / 0.9857 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.039, allocations: 0 / 0.9857 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/1.039, allocations: 0 / 0.9857 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/1.039, allocations: 438.4 kB / 0.9861 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.04, allocations: 0 / 0.9861 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.473e-05/1.04, allocations: 4 kB / 0.9861 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.04, allocations: 0 / 0.9861 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/1.04, allocations: 4 kB / 0.9861 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.04, allocations: 4 kB / 0.9861 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.04, allocations: 0 / 0.9861 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/1.04, allocations: 274 kB / 0.9864 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/1.04, allocations: 81.02 kB / 0.9865 GB, free: 208 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/1.04, allocations: 8 kB / 0.9865 GB, free: 200 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/1.04, allocations: 7.984 kB / 0.9865 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/1.04, allocations: 19.91 kB / 0.9865 GB, free: 172 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/1.04, allocations: 12 kB / 0.9865 GB, free: 160 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.149e-05/1.04, allocations: 91.27 kB / 0.9866 GB, free: 68 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/1.04, allocations: 0 / 0.9866 GB, free: 68 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003137/1.041, allocations: 32 kB / 0.9866 GB, free: 36 kB / 0.7325 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.0008058/1.042, allocations: 0.8021 MB / 0.9874 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003522/1.042, allocations: 191.2 kB / 0.9876 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.042, allocations: 0 / 0.9876 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/1.042, allocations: 79.91 kB / 0.9877 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/1.042, allocations: 12.25 kB / 0.9877 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/1.043, allocations: 1.036 MB / 0.9887 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/1.044, allocations: 0.6926 MB / 0.9894 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.055e-05/1.044, allocations: 8.562 kB / 0.9894 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/1.044, allocations: 23.42 kB / 0.9894 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of SimCode: time 1.072e-06/1.044, allocations: 4 kB / 0.9894 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/1.064, allocations: 2.388 MB / 0.9917 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003391/1.065, allocations: 212.1 kB / 0.9919 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/3.338, allocations: 0 / 0.9919 GB, free: 10.62 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