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.307/2.307, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001154/0.001154, allocations: 184.9 kB / 492.3 MB, free: 0.6094 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.3 MB / 0.7871 GB, free: 12.9 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.0008626/0.0008628, allocations: 98.22 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.78e-05/3.805e-05, allocations: 8 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.2997, allocations: 142.3 MB / 1.213 GB, free: 38.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8363/1.136, allocations: 149.5 MB / 1.359 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/1.136, allocations: 73.33 kB / 1.359 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04772/1.184, allocations: 17.37 MB / 1.376 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.643e-06/1.184, allocations: 0 / 1.376 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.18e-05/1.184, allocations: 7.906 kB / 1.376 GB, free: 33.83 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.001166/1.185, allocations: 0.9697 MB / 1.377 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/1.185, allocations: 15.75 kB / 1.377 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/1.185, allocations: 41.33 kB / 1.377 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003358/1.186, allocations: 65.55 kB / 1.377 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/1.186, allocations: 205.5 kB / 1.377 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.494e-05/1.186, allocations: 41.83 kB / 1.377 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002564/1.186, allocations: 65.08 kB / 1.377 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/1.186, allocations: 213.6 kB / 1.377 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/1.186, allocations: 0 / 1.377 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/1.187, allocations: 7.766 kB / 1.377 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/1.187, allocations: 7.812 kB / 1.377 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.483e-05/1.187, allocations: 64.73 kB / 1.377 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008659/1.188, allocations: 0.8386 MB / 1.378 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/1.188, allocations: 333.5 kB / 1.378 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/1.188, allocations: 128.4 kB / 1.378 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/1.188, allocations: 19.27 kB / 1.379 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004109/1.188, allocations: 448.6 kB / 1.379 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 2.665e-06/1.188, allocations: 4 kB / 1.379 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.0007522/1.189, allocations: 461.7 kB / 1.379 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.899e-05/1.189, allocations: 436.4 kB / 1.38 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/1.189, allocations: 260.1 kB / 1.38 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/1.19, allocations: 67.2 kB / 1.38 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/1.19, allocations: 163 kB / 1.38 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.354e-05/1.19, allocations: 95.56 kB / 1.38 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/1.19, allocations: 33.34 kB / 1.38 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001023/1.19, allocations: 354.9 kB / 1.381 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000762/1.191, allocations: 403.4 kB / 1.381 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008402/1.192, allocations: 0.6877 MB / 1.382 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008376/1.192, allocations: 0.8144 MB / 1.383 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/1.193, allocations: 3.688 kB / 1.383 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002277/1.195, allocations: 1.679 MB / 1.384 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001733/1.195, allocations: 478.9 kB / 1.385 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/1.195, allocations: 7.812 kB / 1.385 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/1.195, allocations: 15.38 kB / 1.385 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.027e-05/1.195, allocations: 30.33 kB / 1.385 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/1.195, allocations: 23.45 kB / 1.385 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/1.197, allocations: 0.5367 MB / 1.385 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/1.198, allocations: 98.86 kB / 1.385 GB, free: 27.22 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.0003002/1.198, allocations: 203.9 kB / 1.386 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/1.198, allocations: 46.55 kB / 1.386 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.588e-05/1.198, allocations: 39.33 kB / 1.386 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/1.198, allocations: 11.59 kB / 1.386 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/1.198, allocations: 3.719 kB / 1.386 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/1.198, allocations: 7.859 kB / 1.386 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/1.198, allocations: 329 kB / 1.386 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.198, allocations: 7.844 kB / 1.386 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/1.198, allocations: 19.45 kB / 1.386 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/1.198, allocations: 7.828 kB / 1.386 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/1.199, allocations: 21.89 kB / 1.386 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.199, allocations: 3.844 kB / 1.386 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.199, allocations: 7.781 kB / 1.386 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005337/1.199, allocations: 0.6673 MB / 1.387 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/1.199, allocations: 108.2 kB / 1.387 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/1.199, allocations: 18.23 kB / 1.387 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/1.199, allocations: 15.61 kB / 1.387 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/1.199, allocations: 65.52 kB / 1.387 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/1.199, allocations: 30.23 kB / 1.387 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001358/1.2, allocations: 188.7 kB / 1.387 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.2, allocations: 0 / 1.387 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006669/1.2, allocations: 198.4 kB / 1.387 GB, free: 26.02 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.001121/1.201, allocations: 2.208 MB / 1.389 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001695/1.203, allocations: 1.731 MB / 1.391 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.203, allocations: 320 / 1.391 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/1.203, allocations: 182.4 kB / 1.391 GB, free: 22.99 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006092/1.204, allocations: 98.16 kB / 1.391 GB, free: 22.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/1.205, allocations: 0.6048 MB / 1.392 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/1.206, allocations: 0.7848 MB / 1.393 GB, free: 21.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001477/1.206, allocations: 49.92 kB / 1.393 GB, free: 21.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/1.206, allocations: 106 kB / 1.393 GB, free: 21.82 MB / 0.8386 GB Notification: Performance of SimCode: time 7.01e-07/1.206, allocations: 4 kB / 1.393 GB, free: 21.81 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/1.231, allocations: 13.8 MB / 1.406 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/1.232, allocations: 191.2 kB / 1.407 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/3.413, allocations: 0 / 1.407 GB, free: 13.01 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