Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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.TriggeredTrapezoid,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",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.00109/0.00109, allocations: 86.88 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.001331/0.001331, 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.575/1.575, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.6/2.6, allocations: 409.4 MB / 0.684 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00056/0.0005602, allocations: 8 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8536/0.8542, allocations: 146.8 MB / 0.9812 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0008385/0.8551, allocations: 391.7 kB / 0.9815 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.8565, allocations: 1.146 MB / 0.9826 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.8565, allocations: 4 kB / 0.9826 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.8566, allocations: 7.938 kB / 0.9827 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.083e-05/0.8566, allocations: 7.922 kB / 0.9827 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.8571, allocations: 121.1 kB / 0.9828 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.8572, allocations: 99.75 kB / 0.9829 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.524e-05/0.8573, allocations: 11.97 kB / 0.9829 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.039e-05/0.8574, allocations: 43.91 kB / 0.9829 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.728e-05/0.8575, allocations: 43.88 kB / 0.983 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.8575, allocations: 8 kB / 0.983 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.8576, allocations: 27.97 kB / 0.983 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.766e-05/0.8576, allocations: 11.92 kB / 0.983 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.8577, allocations: 37.7 kB / 0.9831 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.8578, allocations: 79.8 kB / 0.9831 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8578, allocations: 0 / 0.9831 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8578, allocations: 0 / 0.9831 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.8578, allocations: 0 / 0.9831 GB, free: 4.246 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005509/0.8584, allocations: 391.1 kB / 0.9835 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.8584, allocations: 16.03 kB / 0.9835 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.8585, allocations: 30.56 kB / 0.9835 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.8585, allocations: 4 kB / 0.9835 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.8587, allocations: 174.9 kB / 0.9837 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.8587, allocations: 11.92 kB / 0.9837 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.8587, allocations: 11.98 kB / 0.9837 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.8589, allocations: 73.59 kB / 0.9838 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.859, allocations: 4 kB / 0.9838 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.859, allocations: 0 / 0.9838 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.859, allocations: 4 kB / 0.9838 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.8592, allocations: 43.97 kB / 0.9839 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.8596, allocations: 312.9 kB / 0.9842 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.8598, allocations: 78.44 kB / 0.9842 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.8599, allocations: 44.89 kB / 0.9843 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.86, allocations: 3.938 kB / 0.9843 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.8602, allocations: 107.3 kB / 0.9844 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.8602, allocations: 0 / 0.9844 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.000483/0.8607, allocations: 185.5 kB / 0.9846 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.8608, allocations: 55.41 kB / 0.9846 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.8609, allocations: 117.8 kB / 0.9847 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.8609, allocations: 25.7 kB / 0.9847 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.861, allocations: 92.23 kB / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.861, allocations: 19.8 kB / 0.9849 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.861, allocations: 8 kB / 0.9849 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.8611, allocations: 318.8 kB / 0.9852 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.8613, allocations: 47.97 kB / 0.9852 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.8614, allocations: 70.55 kB / 0.9853 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.8616, allocations: 81.67 kB / 0.9854 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8616, allocations: 0 / 0.9854 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003952/0.862, allocations: 203.1 kB / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.8621, allocations: 41.62 kB / 0.9856 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.8621, allocations: 0.8438 kB / 0.9856 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.8621, allocations: 0 / 0.9856 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.8622, allocations: 19.98 kB / 0.9856 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.8622, allocations: 4.062 kB / 0.9856 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.8624, allocations: 43.91 kB / 0.9857 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.8625, allocations: 11.98 kB / 0.9857 GB, free: 1.379 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001128/0.8626, allocations: 117.8 kB / 0.9858 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.8626, allocations: 11.86 kB / 0.9858 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.8626, allocations: 12.38 kB / 0.9858 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.8626, allocations: 3.938 kB / 0.9858 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.8627, allocations: 0 / 0.9858 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.8627, allocations: 7.922 kB / 0.9858 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.8632, allocations: 402.4 kB / 0.9862 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8632, allocations: 4 kB / 0.9862 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.8632, allocations: 4 kB / 0.9862 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.8632, allocations: 0 / 0.9862 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.8633, allocations: 11.98 kB / 0.9862 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.8633, allocations: 0 / 0.9862 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.8633, allocations: 0 / 0.9862 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.8636, allocations: 247.3 kB / 0.9865 GB, free: 500 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.8637, allocations: 81.11 kB / 0.9865 GB, free: 400 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.8637, allocations: 0 / 0.9865 GB, free: 400 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.253e-05/0.8638, allocations: 7.984 kB / 0.9865 GB, free: 392 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.8638, allocations: 11.98 kB / 0.9865 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.8639, allocations: 7.938 kB / 0.9866 GB, free: 372 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.859e-05/0.8639, allocations: 91.27 kB / 0.9866 GB, free: 280 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8639, allocations: 0 / 0.9866 GB, free: 280 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002578/0.8642, allocations: 23.91 kB / 0.9867 GB, free: 256 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: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006676/0.8649, allocations: 0.7886 MB / 0.9874 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003636/0.8652, allocations: 187.3 kB / 0.9876 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8653, allocations: 3.938 kB / 0.9876 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.8654, allocations: 55.88 kB / 0.9877 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.8657, allocations: 18.28 kB / 0.9877 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.8668, allocations: 0.6615 MB / 0.9883 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.8671, allocations: 0.6926 MB / 0.989 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.252e-05/0.8671, allocations: 4.672 kB / 0.989 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.8672, allocations: 15.44 kB / 0.989 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.8672, allocations: 0 / 0.989 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01549/0.8827, allocations: 2.413 MB / 0.9914 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002836/0.883, allocations: 210.5 kB / 0.9916 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.73, allocations: 0 / 0.9916 GB, free: 11.25 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat does not exist to compare? outputFormat=mat