Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",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.001321/0.001321, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001979/0.001979, allocations: 177.3 kB / 15.95 MB, free: 216 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.473/1.473, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.474/2.474, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003756, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7987/0.7991, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001005/0.8002, allocations: 0.6367 MB / 0.9542 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.8016, allocations: 1.348 MB / 0.9556 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.8017, allocations: 2.156 kB / 0.9556 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.8017, allocations: 7.875 kB / 0.9556 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.8018, allocations: 52.61 kB / 0.9556 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000904/0.8027, allocations: 367.6 kB / 0.956 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.803, allocations: 239.1 kB / 0.9562 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.8031, allocations: 37.09 kB / 0.9562 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.8033, allocations: 144.2 kB / 0.9564 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.8034, allocations: 120.1 kB / 0.9565 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.8035, allocations: 19.47 kB / 0.9565 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.852e-05/0.8036, allocations: 35.14 kB / 0.9565 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.8036, allocations: 23.97 kB / 0.9566 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.09e-05/0.8037, allocations: 72.45 kB / 0.9566 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.804, allocations: 379.2 kB / 0.957 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.804, allocations: 0 / 0.957 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.804, allocations: 0 / 0.957 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.804, allocations: 0 / 0.957 GB, free: 5.504 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000559/0.8046, allocations: 0.5693 MB / 0.9575 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.8046, allocations: 10.78 kB / 0.9576 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.8047, allocations: 41.22 kB / 0.9576 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.833e-05/0.8048, allocations: 37.39 kB / 0.9576 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.8049, allocations: 215.6 kB / 0.9578 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.805, allocations: 16.34 kB / 0.9579 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/0.805, allocations: 22.03 kB / 0.9579 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.8052, allocations: 119.7 kB / 0.958 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.8052, allocations: 1.344 kB / 0.958 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.8053, allocations: 9.25 kB / 0.958 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.8053, allocations: 6.219 kB / 0.958 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.8054, allocations: 53.23 kB / 0.9581 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008961/0.8063, allocations: 0.8721 MB / 0.9589 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.8065, allocations: 119 kB / 0.959 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.8065, allocations: 5.375 kB / 0.959 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003091/0.8068, allocations: 172.8 kB / 0.9592 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 3.787e-06/0.8068, allocations: 4 kB / 0.9592 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0005023/0.8073, allocations: 213.8 kB / 0.9594 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.8074, allocations: 144.1 kB / 0.9595 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.8077, allocations: 238 kB / 0.9598 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.8077, allocations: 38.52 kB / 0.9598 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.8078, allocations: 133.7 kB / 0.9599 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.8079, allocations: 33.72 kB / 0.96 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.8079, allocations: 10.88 kB / 0.96 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.808, allocations: 331 kB / 0.9603 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.8083, allocations: 152.5 kB / 0.9604 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.8087, allocations: 222 kB / 0.9606 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.809, allocations: 257.6 kB / 0.9609 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.809, allocations: 1.375 kB / 0.9609 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008654/0.8099, allocations: 0.5558 MB / 0.9614 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.396e-05/0.81, allocations: 137.5 kB / 0.9616 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.81, allocations: 3.688 kB / 0.9616 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.8101, allocations: 5 kB / 0.9616 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.005e-05/0.8101, allocations: 13.62 kB / 0.9616 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.8102, allocations: 7.516 kB / 0.9616 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008072/0.811, allocations: 154.5 kB / 0.9617 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.384e-05/0.8111, allocations: 30.78 kB / 0.9618 GB, free: 1.352 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001694/0.8113, allocations: 152.2 kB / 0.9619 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.8113, allocations: 21.44 kB / 0.9619 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.8113, allocations: 22.42 kB / 0.962 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.8114, allocations: 2.969 kB / 0.962 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.8114, allocations: 0.8438 kB / 0.962 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.8114, allocations: 5.859 kB / 0.962 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.8116, allocations: 263.9 kB / 0.9622 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.8116, allocations: 1 kB / 0.9622 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.8116, allocations: 15.94 kB / 0.9622 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.8117, allocations: 1.969 kB / 0.9622 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.8117, allocations: 11.16 kB / 0.9622 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.8117, allocations: 5.078 kB / 0.9622 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8117, allocations: 1.656 kB / 0.9622 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.812, allocations: 254 kB / 0.9625 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.812, allocations: 95.31 kB / 0.9626 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.8121, allocations: 6.688 kB / 0.9626 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.057e-05/0.8121, allocations: 1.125 kB / 0.9626 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.8122, allocations: 27.2 kB / 0.9626 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.8122, allocations: 6.188 kB / 0.9626 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001293/0.8123, allocations: 168.1 kB / 0.9628 GB, free: 440 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8123, allocations: 0 / 0.9628 GB, free: 440 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000351/0.8127, allocations: 72 kB / 0.9628 GB, free: 428 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0006697/0.8134, allocations: 0.9967 MB / 0.9638 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007575/0.8141, allocations: 0.5283 MB / 0.9643 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8142, allocations: 1.562 kB / 0.9643 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.8143, allocations: 61.3 kB / 0.9644 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.8147, allocations: 61.16 kB / 0.9645 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.8165, allocations: 2.315 MB / 0.9667 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.8168, allocations: 0.7356 MB / 0.9674 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.28e-05/0.8169, allocations: 21.91 kB / 0.9675 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.817, allocations: 57.61 kB / 0.9675 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of SimCode: time 2.053e-06/0.817, allocations: 1.312 kB / 0.9675 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.837, allocations: 6.001 MB / 0.9734 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.8372, allocations: 197.5 kB / 0.9736 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.601, allocations: 1.344 kB / 0.9736 GB, free: 8.809 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat