Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",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.619/2.619, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001328/0.001328, allocations: 180.4 kB / 492.3 MB, free: 0.6289 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.456/1.456, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 91.89 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.831e-05/3.855e-05, allocations: 4 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2668, allocations: 142.4 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9364/1.203, allocations: 149.5 MB / 1.359 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/1.204, allocations: 76.83 kB / 1.359 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04811/1.252, allocations: 17.37 MB / 1.376 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.302e-06/1.252, allocations: 0 / 1.376 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.367e-05/1.252, allocations: 7.812 kB / 1.376 GB, free: 33.75 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001308/1.253, allocations: 0.9726 MB / 1.377 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/1.253, allocations: 11.72 kB / 1.377 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.111e-05/1.253, allocations: 37.48 kB / 1.377 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003681/1.254, allocations: 70.05 kB / 1.377 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/1.254, allocations: 207.1 kB / 1.377 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.03e-05/1.254, allocations: 37.64 kB / 1.377 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00026/1.254, allocations: 67.48 kB / 1.377 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/1.254, allocations: 209.1 kB / 1.377 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/1.254, allocations: 0 / 1.377 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/1.254, allocations: 7.672 kB / 1.377 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/1.254, allocations: 7.875 kB / 1.377 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.913e-05/1.255, allocations: 73.95 kB / 1.377 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009037/1.255, allocations: 0.8401 MB / 1.378 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/1.256, allocations: 330 kB / 1.378 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/1.256, allocations: 124.9 kB / 1.378 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/1.256, allocations: 15.8 kB / 1.379 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004445/1.256, allocations: 451.7 kB / 1.379 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 2.815e-06/1.256, allocations: 0 / 1.379 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.0007942/1.257, allocations: 460.3 kB / 1.379 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.257, allocations: 438.5 kB / 1.38 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/1.257, allocations: 260 kB / 1.38 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001682/1.258, allocations: 67.08 kB / 1.38 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/1.258, allocations: 161.4 kB / 1.38 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/1.258, allocations: 88.52 kB / 1.38 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/1.258, allocations: 37.22 kB / 1.38 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.258, allocations: 354.6 kB / 1.381 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007484/1.259, allocations: 413.4 kB / 1.381 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008161/1.26, allocations: 0.6786 MB / 1.382 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007951/1.26, allocations: 0.8234 MB / 1.383 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/1.26, allocations: 0 / 1.383 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002238/1.263, allocations: 1.679 MB / 1.384 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001658/1.263, allocations: 478.1 kB / 1.385 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/1.263, allocations: 11.91 kB / 1.385 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-05/1.263, allocations: 15.22 kB / 1.385 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.777e-05/1.263, allocations: 31.05 kB / 1.385 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/1.263, allocations: 19.55 kB / 1.385 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/1.265, allocations: 0.5395 MB / 1.385 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/1.265, allocations: 96.05 kB / 1.385 GB, free: 27.14 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0002649/1.266, allocations: 207.4 kB / 1.386 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-05/1.266, allocations: 42.48 kB / 1.386 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.678e-05/1.266, allocations: 39.27 kB / 1.386 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/1.266, allocations: 11.34 kB / 1.386 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/1.266, allocations: 3.625 kB / 1.386 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/1.266, allocations: 7.672 kB / 1.386 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/1.266, allocations: 328.5 kB / 1.386 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/1.266, allocations: 7.812 kB / 1.386 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/1.266, allocations: 19.33 kB / 1.386 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/1.266, allocations: 11.59 kB / 1.386 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/1.266, allocations: 18.8 kB / 1.386 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.266, allocations: 7.75 kB / 1.386 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.266, allocations: 7.75 kB / 1.386 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000547/1.267, allocations: 0.6685 MB / 1.387 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/1.267, allocations: 111 kB / 1.387 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/1.267, allocations: 14.33 kB / 1.387 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/1.267, allocations: 13.52 kB / 1.387 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/1.267, allocations: 66.58 kB / 1.387 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/1.267, allocations: 33.73 kB / 1.387 GB, free: 26.03 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001358/1.267, allocations: 186.9 kB / 1.387 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.267, allocations: 0 / 1.387 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006334/1.268, allocations: 197.3 kB / 1.387 GB, free: 25.93 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.001057/1.269, allocations: 2.212 MB / 1.389 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001507/1.271, allocations: 1.728 MB / 1.391 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.271, allocations: 0 / 1.391 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/1.271, allocations: 178.9 kB / 1.391 GB, free: 22.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006056/1.272, allocations: 111.7 kB / 1.391 GB, free: 22.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/1.273, allocations: 0.6033 MB / 1.392 GB, free: 22.51 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/1.273, allocations: 0.778 MB / 1.393 GB, free: 21.77 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001301/1.273, allocations: 49.53 kB / 1.393 GB, free: 21.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/1.273, allocations: 106.6 kB / 1.393 GB, free: 21.73 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.273, allocations: 0 / 1.393 GB, free: 21.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/1.299, allocations: 13.8 MB / 1.406 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/1.299, allocations: 187.2 kB / 1.407 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.226/3.524, allocations: 0 / 1.407 GB, free: 13.04 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime_fmu --startTime=9 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat does not exist to compare? outputFormat=mat