Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_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_latest_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.001572/0.001572, allocations: 99.86 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.001516/0.001517, 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 1.986/1.986, allocations: 223.2 MB / 239.9 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.952/2.952, allocations: 409.2 MB / 0.6838 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.000412, allocations: 8 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.059, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001266/1.06, allocations: 0.6422 MB / 0.9815 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002082/1.062, allocations: 1.347 MB / 0.9828 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.417e-05/1.062, allocations: 4 kB / 0.9828 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.956e-05/1.062, allocations: 7.875 kB / 0.9828 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000206/1.062, allocations: 47.84 kB / 0.9829 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/1.064, allocations: 378.8 kB / 0.9833 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003326/1.064, allocations: 231.6 kB / 0.9835 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/1.064, allocations: 41.8 kB / 0.9835 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/1.064, allocations: 139.6 kB / 0.9836 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/1.064, allocations: 119.5 kB / 0.9838 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.959e-05/1.064, allocations: 20 kB / 0.9838 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/1.065, allocations: 31.98 kB / 0.9838 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.853e-05/1.065, allocations: 27.89 kB / 0.9838 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/1.065, allocations: 65.58 kB / 0.9839 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004079/1.065, allocations: 373.2 kB / 0.9843 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/1.065, allocations: 0 / 0.9843 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.424e-06/1.065, allocations: 3.938 kB / 0.9843 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.811e-06/1.065, allocations: 0 / 0.9843 GB, free: 2.82 MB / 0.7325 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.0007773/1.066, allocations: 0.5754 MB / 0.9848 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/1.066, allocations: 12.03 kB / 0.9848 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.48e-05/1.066, allocations: 38.55 kB / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.993e-05/1.066, allocations: 27.81 kB / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/1.066, allocations: 217.7 kB / 0.9851 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/1.067, allocations: 16 kB / 0.9851 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.698e-05/1.067, allocations: 23.95 kB / 0.9851 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/1.067, allocations: 122.7 kB / 0.9853 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/1.067, allocations: 0 / 0.9853 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/1.067, allocations: 7.984 kB / 0.9853 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/1.067, allocations: 4 kB / 0.9853 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/1.067, allocations: 51.92 kB / 0.9853 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/1.068, allocations: 0.8757 MB / 0.9862 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/1.069, allocations: 122.4 kB / 0.9863 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/1.069, allocations: 0 / 0.9863 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000361/1.069, allocations: 182.6 kB / 0.9865 GB, free: 308 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.884e-06/1.069, allocations: 0 / 0.9865 GB, free: 308 kB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0006175/1.07, allocations: 225.2 kB / 0.9867 GB, free: 76 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/1.07, allocations: 128.5 kB / 0.9868 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/1.07, allocations: 244.9 kB / 0.987 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.418e-05/1.07, allocations: 37.7 kB / 0.9871 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/1.071, allocations: 132.5 kB / 0.9872 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/1.071, allocations: 39.53 kB / 0.9872 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/1.071, allocations: 8 kB / 0.9872 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002167/1.071, allocations: 334.8 kB / 0.9876 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004385/1.071, allocations: 144.2 kB / 0.9877 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/1.072, allocations: 227.9 kB / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000485/1.072, allocations: 254.7 kB / 0.9882 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/1.072, allocations: 8 kB / 0.9882 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001344/1.074, allocations: 0.5429 MB / 0.9887 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/1.074, allocations: 138.8 kB / 0.9888 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/1.074, allocations: 4 kB / 0.9888 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.908e-05/1.074, allocations: 4.938 kB / 0.9888 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/1.074, allocations: 11.94 kB / 0.9888 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/1.074, allocations: 4 kB / 0.9889 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/1.075, allocations: 161.6 kB / 0.989 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.221e-05/1.075, allocations: 35.97 kB / 0.989 GB, free: 13.48 MB / 0.7481 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.0002597/1.076, allocations: 141.8 kB / 0.9892 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/1.076, allocations: 23.72 kB / 0.9892 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.535e-05/1.076, allocations: 25.17 kB / 0.9892 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/1.076, allocations: 7.938 kB / 0.9892 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.076, allocations: 0 / 0.9892 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/1.076, allocations: 7.984 kB / 0.9892 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/1.076, allocations: 257.5 kB / 0.9895 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/1.076, allocations: 11.98 kB / 0.9895 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/1.076, allocations: 15.94 kB / 0.9895 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/1.076, allocations: 0 / 0.9895 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/1.076, allocations: 8 kB / 0.9895 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/1.076, allocations: 0 / 0.9895 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.076, allocations: 0 / 0.9895 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004616/1.077, allocations: 257.7 kB / 0.9898 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.281e-05/1.077, allocations: 92.91 kB / 0.9899 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/1.077, allocations: 11.95 kB / 0.9899 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.83e-05/1.077, allocations: 0 / 0.9899 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/1.077, allocations: 23.91 kB / 0.9899 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/1.077, allocations: 12 kB / 0.9899 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001649/1.077, allocations: 168.5 kB / 0.9901 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/1.077, allocations: 0 / 0.9901 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005427/1.078, allocations: 75.84 kB / 0.9901 GB, free: 12.23 MB / 0.7481 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.0009183/1.079, allocations: 0.9901 MB / 0.9911 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009634/1.08, allocations: 0.5307 MB / 0.9916 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.08, allocations: 0.5 kB / 0.9916 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/1.08, allocations: 67.92 kB / 0.9917 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/1.081, allocations: 52.39 kB / 0.9917 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/1.083, allocations: 2.324 MB / 0.994 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/1.083, allocations: 0.7362 MB / 0.9947 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001046/1.083, allocations: 22.28 kB / 0.9947 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/1.083, allocations: 55.36 kB / 0.9948 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of SimCode: time 4.31e-07/1.083, allocations: 4 kB / 0.9948 GB, free: 7.223 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/1.185, allocations: 5.998 MB / 1.001 GB, free: 1.445 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003048/1.186, allocations: 189.5 kB / 1.001 GB, free: 1.211 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/3.793, allocations: 0 / 1.001 GB, free: 1.211 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat