Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_9_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 172.8 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 221.5 MB / 0.7824 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000955/0.0009548, allocations: 98.19 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.278e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2782, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9677/1.246, allocations: 148.8 MB / 1.351 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/1.246, allocations: 72.89 kB / 1.351 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007829/1.254, allocations: 2.449 MB / 1.354 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.002e-06/1.254, allocations: 0 / 1.354 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.27e-05/1.254, allocations: 3.875 kB / 1.354 GB, free: 33.72 MB / 0.8386 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.000492/1.255, allocations: 396 kB / 1.354 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.255, allocations: 11.66 kB / 1.354 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/1.255, allocations: 8.438 kB / 1.354 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/1.255, allocations: 176.1 kB / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/1.255, allocations: 0.6094 kB / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/1.255, allocations: 12.33 kB / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.664e-05/1.255, allocations: 27.89 kB / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/1.255, allocations: 59.09 kB / 1.354 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/1.255, allocations: 0 / 1.354 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/1.255, allocations: 4.641 kB / 1.355 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/1.255, allocations: 0 / 1.355 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/1.256, allocations: 298.8 kB / 1.355 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/1.256, allocations: 60.5 kB / 1.355 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/1.256, allocations: 30.66 kB / 1.355 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/1.256, allocations: 3.562 kB / 1.355 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/1.256, allocations: 99.62 kB / 1.355 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/1.256, allocations: 0 / 1.355 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002709/1.256, allocations: 124.6 kB / 1.355 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/1.256, allocations: 56 kB / 1.355 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.232e-05/1.256, allocations: 98.41 kB / 1.355 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/1.256, allocations: 33.94 kB / 1.355 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/1.257, allocations: 84.88 kB / 1.355 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/1.257, allocations: 20.45 kB / 1.355 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/1.257, allocations: 4.531 kB / 1.355 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.257, allocations: 325.2 kB / 1.356 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.864e-05/1.257, allocations: 46.16 kB / 1.356 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.878e-05/1.257, allocations: 64.61 kB / 1.356 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/1.257, allocations: 51.17 kB / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.257, allocations: 0.6562 kB / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005078/1.258, allocations: 202 kB / 1.356 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/1.258, allocations: 35.12 kB / 1.356 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/1.258, allocations: 4.5 kB / 1.356 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/1.258, allocations: 34.38 kB / 1.356 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.273e-05/1.258, allocations: 4.922 kB / 1.356 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/1.259, allocations: 1.387 MB / 1.357 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/1.259, allocations: 44.45 kB / 1.358 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/1.259, allocations: 6.438 kB / 1.358 GB, free: 30.68 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 9.747e-05/1.259, allocations: 110.8 kB / 1.358 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001753/1.259, allocations: 128.8 kB / 1.358 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/1.26, allocations: 8.469 kB / 1.358 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/1.26, allocations: 13.14 kB / 1.358 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/1.26, allocations: 0 / 1.358 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/1.26, allocations: 0.7969 kB / 1.358 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.26, allocations: 0 / 1.358 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/1.26, allocations: 361.1 kB / 1.358 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/1.26, allocations: 4.875 kB / 1.358 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/1.26, allocations: 16.69 kB / 1.358 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/1.26, allocations: 0.5156 kB / 1.358 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/1.26, allocations: 1.5 kB / 1.358 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.26, allocations: 0 / 1.358 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.26, allocations: 0 / 1.358 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/1.26, allocations: 224.3 kB / 1.358 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/1.26, allocations: 85.62 kB / 1.358 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/1.26, allocations: 4.703 kB / 1.358 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.765e-05/1.26, allocations: 6.875 kB / 1.358 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/1.26, allocations: 9.906 kB / 1.358 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/1.26, allocations: 8.594 kB / 1.358 GB, free: 30 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.218e-05/1.26, allocations: 87.97 kB / 1.359 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.26, allocations: 0 / 1.359 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002915/1.261, allocations: 24.48 kB / 1.359 GB, free: 29.93 MB / 0.8386 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) * 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.0005144/1.261, allocations: 0.7787 MB / 1.359 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003382/1.262, allocations: 263.7 kB / 1.36 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.262, allocations: 0 / 1.36 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.427e-05/1.262, allocations: 49.58 kB / 1.36 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/1.262, allocations: 6.453 kB / 1.36 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/1.262, allocations: 150.7 kB / 1.36 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/1.263, allocations: 0.6882 MB / 1.36 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.173e-05/1.263, allocations: 5.984 kB / 1.36 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/1.263, allocations: 19.11 kB / 1.36 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.263, allocations: 0.75 kB / 1.36 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/1.284, allocations: 2.177 MB / 1.363 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/1.284, allocations: 160.8 kB / 1.363 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.842, allocations: 2.109 kB / 1.363 GB, free: 27.91 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat does not exist to compare? outputFormat=mat