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.001152/0.001152, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001409/0.00141, allocations: 168.7 kB / 15.95 MB, free: 204 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.46/1.46, allocations: 223.2 MB / 240 MB, free: 5.277 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.544/2.544, allocations: 390.4 MB / 0.6655 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004941/0.0004942, allocations: 8 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8222/0.8227, allocations: 142.3 MB / 0.9539 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001256/0.824, allocations: 0.6461 MB / 0.9545 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.8258, allocations: 1.421 MB / 0.9559 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.137e-05/0.8259, allocations: 1.188 kB / 0.9559 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.8259, allocations: 5.094 kB / 0.9559 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.8261, allocations: 44.25 kB / 0.9559 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.8271, allocations: 381.5 kB / 0.9563 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.8275, allocations: 385.5 kB / 0.9567 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.8277, allocations: 44.44 kB / 0.9567 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.8279, allocations: 142.1 kB / 0.9569 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.8281, allocations: 117.6 kB / 0.957 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.393e-05/0.8281, allocations: 18.16 kB / 0.957 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.8283, allocations: 33.17 kB / 0.957 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.61e-05/0.8283, allocations: 23.67 kB / 0.957 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.91e-05/0.8284, allocations: 71.61 kB / 0.9571 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.8288, allocations: 380.7 kB / 0.9575 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.8288, allocations: 4 kB / 0.9575 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.186e-06/0.8288, allocations: 0 / 0.9575 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.8288, allocations: 4 kB / 0.9575 GB, free: 5.32 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.0006369/0.8295, allocations: 0.5605 MB / 0.958 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.8295, allocations: 12.47 kB / 0.958 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.8296, allocations: 42.02 kB / 0.9581 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.437e-05/0.8297, allocations: 29.44 kB / 0.9581 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.8298, allocations: 218.8 kB / 0.9583 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.8299, allocations: 13.64 kB / 0.9583 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.677e-05/0.8299, allocations: 22.53 kB / 0.9583 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.8302, allocations: 126.5 kB / 0.9585 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.8302, allocations: 0 / 0.9585 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.8302, allocations: 5.266 kB / 0.9585 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.8302, allocations: 2.656 kB / 0.9585 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.8303, allocations: 57.19 kB / 0.9585 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008203/0.8312, allocations: 0.8732 MB / 0.9594 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.8313, allocations: 118.1 kB / 0.9595 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.048e-05/0.8314, allocations: 52.08 kB / 0.9595 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.8314, allocations: 1.781 kB / 0.9595 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.8316, allocations: 182.9 kB / 0.9597 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.8316, allocations: 0 / 0.9597 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0004071/0.8321, allocations: 222.9 kB / 0.9599 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.8321, allocations: 139.2 kB / 0.9601 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.8323, allocations: 237.7 kB / 0.9603 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.8324, allocations: 37.95 kB / 0.9603 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.8325, allocations: 134.1 kB / 0.9605 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.8325, allocations: 38.5 kB / 0.9605 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.8325, allocations: 6.875 kB / 0.9605 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.8326, allocations: 338.9 kB / 0.9608 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.8329, allocations: 142.2 kB / 0.961 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.8332, allocations: 231.4 kB / 0.9612 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.8335, allocations: 250.1 kB / 0.9614 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.8335, allocations: 0.9688 kB / 0.9614 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008471/0.8343, allocations: 0.5475 MB / 0.962 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.547e-05/0.8344, allocations: 138.1 kB / 0.9621 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.8344, allocations: 2.781 kB / 0.9621 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.8345, allocations: 8.062 kB / 0.9621 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.8346, allocations: 17.52 kB / 0.9621 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.8346, allocations: 4 kB / 0.9621 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007124/0.8353, allocations: 158.8 kB / 0.9623 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.8354, allocations: 26.61 kB / 0.9623 GB, free: 1.129 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.000146/0.8355, allocations: 147.5 kB / 0.9624 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.8356, allocations: 33.36 kB / 0.9625 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.8356, allocations: 15.06 kB / 0.9625 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.8356, allocations: 7.031 kB / 0.9625 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.8356, allocations: 1.156 kB / 0.9625 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.8356, allocations: 5.203 kB / 0.9625 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.8359, allocations: 260.4 kB / 0.9627 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.8359, allocations: 1.031 kB / 0.9627 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.8359, allocations: 16.12 kB / 0.9628 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.8359, allocations: 0.9688 kB / 0.9628 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.8359, allocations: 7.047 kB / 0.9628 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.836, allocations: 2 kB / 0.9628 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.836, allocations: 1.062 kB / 0.9628 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.8362, allocations: 230.5 kB / 0.963 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.8363, allocations: 94.89 kB / 0.9631 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.8363, allocations: 1.938 kB / 0.9631 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.983e-05/0.8364, allocations: 9.797 kB / 0.9631 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.8364, allocations: 10.77 kB / 0.9631 GB, free: 400 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.8365, allocations: 13.94 kB / 0.9631 GB, free: 392 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001427/0.8366, allocations: 164.5 kB / 0.9633 GB, free: 272 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8366, allocations: 0.9688 kB / 0.9633 GB, free: 272 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000336/0.837, allocations: 79.28 kB / 0.9633 GB, free: 252 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.0005865/0.8375, allocations: 0.7573 MB / 0.9641 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007168/0.8383, allocations: 0.5316 MB / 0.9646 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8383, allocations: 0 / 0.9646 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.8384, allocations: 69.78 kB / 0.9647 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.8389, allocations: 61.8 kB / 0.9647 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/0.8415, allocations: 1.606 MB / 0.9663 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.8418, allocations: 0.7301 MB / 0.967 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.077e-05/0.8419, allocations: 19.89 kB / 0.967 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.421e-05/0.842, allocations: 58.47 kB / 0.9671 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.842, allocations: 3.594 kB / 0.9671 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.861, allocations: 6.102 MB / 0.973 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.8612, allocations: 198.3 kB / 0.9732 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.67, allocations: 1.828 kB / 0.9732 GB, free: 10.01 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