Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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.PulseNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime",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.258/2.258, 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.001039/0.001039, allocations: 184.8 kB / 487.4 MB, free: 5.031 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.613/1.613, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 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.0008059/0.0008059, allocations: 99.84 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.319e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2387, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8892/1.128, allocations: 148.9 MB / 1.351 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/1.128, allocations: 70.97 kB / 1.352 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0483/1.177, allocations: 17.3 MB / 1.368 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.643e-06/1.177, allocations: 0 / 1.368 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.211e-05/1.177, allocations: 7.875 kB / 1.368 GB, free: 32.96 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.001016/1.178, allocations: 0.9672 MB / 1.369 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/1.178, allocations: 8.25 kB / 1.369 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/1.178, allocations: 64.33 kB / 1.369 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/1.178, allocations: 214.8 kB / 1.37 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/1.178, allocations: 9.297 kB / 1.37 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/1.178, allocations: 63.45 kB / 1.37 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001503/1.178, allocations: 34.19 kB / 1.37 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/1.179, allocations: 210.2 kB / 1.37 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/1.179, allocations: 4 kB / 1.37 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/1.179, allocations: 10.36 kB / 1.37 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/1.179, allocations: 3.844 kB / 1.37 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/1.18, allocations: 0.808 MB / 1.371 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/1.18, allocations: 301.4 kB / 1.371 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/1.18, allocations: 130.2 kB / 1.371 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/1.18, allocations: 7.812 kB / 1.371 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006535/1.181, allocations: 449 kB / 1.372 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 3.156e-06/1.181, allocations: 0 / 1.372 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.001082/1.182, allocations: 425.1 kB / 1.372 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.182, allocations: 429.1 kB / 1.372 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/1.183, allocations: 243.2 kB / 1.373 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001865/1.183, allocations: 60.23 kB / 1.373 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/1.183, allocations: 162.2 kB / 1.373 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/1.183, allocations: 89.86 kB / 1.373 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/1.183, allocations: 29.22 kB / 1.373 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002096/1.184, allocations: 350.5 kB / 1.373 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/1.185, allocations: 364.4 kB / 1.374 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/1.186, allocations: 0.6404 MB / 1.374 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002791/1.189, allocations: 0.4939 MB / 1.375 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/1.189, allocations: 7.609 kB / 1.375 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005524/1.194, allocations: 1.275 MB / 1.376 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000292/1.195, allocations: 485 kB / 1.376 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/1.195, allocations: 14.14 kB / 1.377 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.191e-05/1.195, allocations: 15.41 kB / 1.377 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/1.195, allocations: 29.09 kB / 1.377 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-05/1.195, allocations: 18.3 kB / 1.377 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003662/1.199, allocations: 0.5335 MB / 1.377 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003521/1.199, allocations: 100.2 kB / 1.377 GB, free: 28.43 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.0004862/1.199, allocations: 188 kB / 1.377 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009284/1.2, allocations: 399 kB / 1.378 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.09e-05/1.201, allocations: 43.28 kB / 1.378 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/1.201, allocations: 33.59 kB / 1.378 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/1.201, allocations: 7.719 kB / 1.378 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/1.201, allocations: 3.875 kB / 1.378 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/1.201, allocations: 7.984 kB / 1.378 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004906/1.201, allocations: 283.7 kB / 1.378 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.201, allocations: 11.83 kB / 1.378 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/1.201, allocations: 18.75 kB / 1.378 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/1.201, allocations: 7.891 kB / 1.378 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/1.201, allocations: 18.86 kB / 1.378 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/1.201, allocations: 3.812 kB / 1.378 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.201, allocations: 7.844 kB / 1.378 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009219/1.202, allocations: 0.6348 MB / 1.379 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/1.203, allocations: 112.5 kB / 1.379 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/1.203, allocations: 11.67 kB / 1.379 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/1.203, allocations: 7.703 kB / 1.379 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/1.203, allocations: 68.64 kB / 1.379 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.015e-05/1.203, allocations: 26.58 kB / 1.379 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002472/1.203, allocations: 173.4 kB / 1.379 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.1e-07/1.203, allocations: 0 / 1.379 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001519/1.205, allocations: 189 kB / 1.379 GB, free: 27.22 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.001894/1.207, allocations: 2.177 MB / 1.381 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002876/1.21, allocations: 1.649 MB / 1.383 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.21, allocations: 0 / 1.383 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003215/1.21, allocations: 163.4 kB / 1.383 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/1.211, allocations: 107.2 kB / 1.383 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/1.213, allocations: 0.5665 MB / 1.384 GB, free: 23.81 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/1.214, allocations: 0.7815 MB / 1.385 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001904/1.214, allocations: 46.17 kB / 1.385 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/1.214, allocations: 108.6 kB / 1.385 GB, free: 23.03 MB / 0.8386 GB Notification: Performance of SimCode: time 1.463e-06/1.214, allocations: 0 / 1.385 GB, free: 23.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04462/1.259, allocations: 12.66 MB / 1.397 GB, free: 16.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/1.259, allocations: 170.3 kB / 1.397 GB, free: 16.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/3.428, allocations: 0 / 1.397 GB, free: 16.46 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime_fmu --startTime=-10 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime_res.mat does not exist to compare? outputFormat=mat