Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_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.001268/0.001268, allocations: 98.61 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.001472/0.001472, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.424/2.424, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.58/3.58, allocations: 409.2 MB / 0.6838 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004463/0.0004464, allocations: 12 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261/1.261, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001289/1.263, allocations: 0.8291 MB / 0.9817 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002404/1.265, allocations: 1.892 MB / 0.9835 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.622e-05/1.265, allocations: 4 kB / 0.9835 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/1.265, allocations: 11.86 kB / 0.9836 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003008/1.265, allocations: 91.73 kB / 0.9836 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003908/1.269, allocations: 1.286 MB / 0.9849 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001555/1.271, allocations: 0.5811 MB / 0.9855 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/1.271, allocations: 20.75 kB / 0.9855 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007331/1.272, allocations: 419.3 kB / 0.9859 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004377/1.272, allocations: 323.1 kB / 0.9862 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/1.272, allocations: 60 kB / 0.9863 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/1.273, allocations: 71.98 kB / 0.9863 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.412e-05/1.273, allocations: 51.81 kB / 0.9864 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002039/1.273, allocations: 125.6 kB / 0.9865 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007158/1.274, allocations: 0.6684 MB / 0.9871 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.274, allocations: 0 / 0.9871 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.234e-06/1.274, allocations: 0 / 0.9871 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.349e-05/1.274, allocations: 4 kB / 0.9871 GB, free: 15.89 MB / 0.7481 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.001394/1.275, allocations: 0.9962 MB / 0.9881 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.275, allocations: 8.031 kB / 0.9881 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/1.275, allocations: 46.53 kB / 0.9882 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/1.276, allocations: 63.62 kB / 0.9882 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/1.276, allocations: 215.2 kB / 0.9884 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/1.276, allocations: 39.92 kB / 0.9885 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/1.276, allocations: 67.98 kB / 0.9885 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/1.276, allocations: 219.8 kB / 0.9887 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.276, allocations: 4 kB / 0.9888 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/1.276, allocations: 7.984 kB / 0.9888 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/1.276, allocations: 4 kB / 0.9888 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/1.276, allocations: 67.78 kB / 0.9888 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009739/1.277, allocations: 0.8444 MB / 0.9897 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/1.278, allocations: 319.3 kB / 0.99 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/1.278, allocations: 23.92 kB / 0.99 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007017/1.278, allocations: 447.2 kB / 0.9904 GB, free: 12 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=45): time 2.194e-06/1.278, allocations: 0 / 0.9904 GB, free: 12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.001205/1.28, allocations: 0.5614 MB / 0.991 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003212/1.28, allocations: 447.2 kB / 0.9914 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/1.28, allocations: 292.2 kB / 0.9917 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001562/1.281, allocations: 65.7 kB / 0.9917 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/1.281, allocations: 161.3 kB / 0.9919 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.596e-05/1.281, allocations: 94.84 kB / 0.992 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/1.281, allocations: 32 kB / 0.992 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.281, allocations: 358.8 kB / 0.9923 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000832/1.282, allocations: 417.3 kB / 0.9927 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009818/1.283, allocations: 0.7028 MB / 0.9934 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009205/1.284, allocations: 0.8181 MB / 0.9942 GB, free: 7.738 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/1.284, allocations: 4 kB / 0.9942 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002695/1.287, allocations: 1.717 MB / 0.9959 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002935/1.287, allocations: 477.4 kB / 0.9964 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.287, allocations: 15.95 kB / 0.9964 GB, free: 5.344 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/1.287, allocations: 16 kB / 0.9964 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.479e-05/1.287, allocations: 35.8 kB / 0.9964 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/1.287, allocations: 15.94 kB / 0.9964 GB, free: 5.277 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002792/1.29, allocations: 0.5694 MB / 0.997 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/1.29, allocations: 99.92 kB / 0.9971 GB, free: 4.613 MB / 0.7481 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 () * Number of clocked 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.0003931/1.291, allocations: 213.6 kB / 0.9973 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.291e-05/1.291, allocations: 47.61 kB / 0.9973 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.402e-05/1.291, allocations: 34.14 kB / 0.9974 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/1.291, allocations: 15.89 kB / 0.9974 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/1.291, allocations: 8 kB / 0.9974 GB, free: 4.293 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/1.291, allocations: 7.984 kB / 0.9974 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/1.291, allocations: 333.3 kB / 0.9977 GB, free: 3.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.291, allocations: 4 kB / 0.9977 GB, free: 3.906 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/1.291, allocations: 19.92 kB / 0.9977 GB, free: 3.887 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/1.291, allocations: 11.94 kB / 0.9978 GB, free: 3.875 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/1.291, allocations: 15.98 kB / 0.9978 GB, free: 3.859 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/1.291, allocations: 8 kB / 0.9978 GB, free: 3.852 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.291, allocations: 7.953 kB / 0.9978 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000786/1.292, allocations: 0.6722 MB / 0.9984 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-05/1.292, allocations: 124.5 kB / 0.9986 GB, free: 2.887 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.544e-05/1.292, allocations: 15.98 kB / 0.9986 GB, free: 2.871 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/1.292, allocations: 15.98 kB / 0.9986 GB, free: 2.855 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-05/1.292, allocations: 59.83 kB / 0.9986 GB, free: 2.797 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/1.293, allocations: 27.98 kB / 0.9987 GB, free: 2.77 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002275/1.293, allocations: 191 kB / 0.9989 GB, free: 2.582 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.293, allocations: 0 / 0.9989 GB, free: 2.582 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007037/1.293, allocations: 200 kB / 0.999 GB, free: 2.387 MB / 0.7481 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 () * Number of clocked 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.0015/1.295, allocations: 2.214 MB / 1.001 GB, free: 48 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002281/1.297, allocations: 1.754 MB / 1.003 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.297, allocations: 0 / 1.003 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002864/1.298, allocations: 183.7 kB / 1.003 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006875/1.298, allocations: 103 kB / 1.003 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/1.303, allocations: 7.847 MB / 1.011 GB, free: 5.699 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/1.303, allocations: 0.7803 MB / 1.012 GB, free: 4.895 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002046/1.304, allocations: 46.97 kB / 1.012 GB, free: 4.852 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/1.304, allocations: 107.4 kB / 1.012 GB, free: 4.746 MB / 0.7637 GB Notification: Performance of SimCode: time 1.313e-06/1.304, allocations: 0 / 1.012 GB, free: 4.746 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/1.334, allocations: 13.63 MB / 1.025 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/1.334, allocations: 191 kB / 1.025 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.774/4.109, allocations: 7.938 kB / 1.025 GB, free: 7.199 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat