Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 117.6 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.579/2.579, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 71.89 kB / 1.057 GB, free: 1.961 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3198, allocations: 160.7 MB / 1.214 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002428/0.3222, allocations: 0.9792 MB / 1.215 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002173/0.3244, allocations: 1.441 MB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.777e-05/0.3244, allocations: 0 / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.082e-05/0.3245, allocations: 15.75 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.3247, allocations: 59.56 kB / 1.217 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.3259, allocations: 457.6 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005992/0.3265, allocations: 495.1 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.3266, allocations: 37.64 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.3268, allocations: 183.6 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.3271, allocations: 163.4 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.046e-05/0.3272, allocations: 48 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.3273, allocations: 63.98 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.3274, allocations: 43.78 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.3276, allocations: 163.5 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005991/0.3282, allocations: 498.4 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3282, allocations: 7.938 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3282, allocations: 0 / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.3282, allocations: 0 / 1.219 GB, free: 12.31 MB / 0.9669 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.0009576/0.3292, allocations: 0.6416 MB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3292, allocations: 8.031 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.3293, allocations: 32.8 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.3295, allocations: 219.2 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.3296, allocations: 16.36 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.3296, allocations: 20.38 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.3299, allocations: 125.6 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3299, allocations: 192 / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.3299, allocations: 7.938 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3299, allocations: 0 / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.33, allocations: 59.91 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.3311, allocations: 0.8757 MB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.3313, allocations: 122.4 kB / 1.221 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.816e-05/0.3314, allocations: 47.48 kB / 1.221 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.3314, allocations: 4 kB / 1.221 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/0.3317, allocations: 178.6 kB / 1.221 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.213e-06/0.3317, allocations: 0 / 1.221 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0004867/0.3322, allocations: 222.2 kB / 1.221 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.3323, allocations: 144.4 kB / 1.221 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.3326, allocations: 236.9 kB / 1.221 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.574e-05/0.3326, allocations: 37.7 kB / 1.221 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.3328, allocations: 144.4 kB / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.3328, allocations: 31.78 kB / 1.222 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.333, allocations: 93.66 kB / 1.222 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.3332, allocations: 334.8 kB / 1.222 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.3335, allocations: 148.2 kB / 1.222 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.3339, allocations: 223.4 kB / 1.222 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.3344, allocations: 364.9 kB / 1.223 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3344, allocations: 0 / 1.223 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001129/0.3355, allocations: 0.5665 MB / 1.223 GB, free: 7 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.3356, allocations: 134.8 kB / 1.223 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.3356, allocations: 8 kB / 1.223 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.3357, allocations: 4 kB / 1.223 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.175e-05/0.3358, allocations: 19.92 kB / 1.223 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.3358, allocations: 4 kB / 1.223 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006477/0.3364, allocations: 115.8 kB / 1.224 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.3365, allocations: 23.98 kB / 1.224 GB, free: 6.672 MB / 0.9669 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.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.3367, allocations: 154.6 kB / 1.224 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.3367, allocations: 23.86 kB / 1.224 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.348e-05/0.3368, allocations: 21.23 kB / 1.224 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3368, allocations: 8 kB / 1.224 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3368, allocations: 0 / 1.224 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.495e-06/0.3368, allocations: 7.938 kB / 1.224 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.3371, allocations: 257.5 kB / 1.224 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3371, allocations: 4 kB / 1.224 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.3371, allocations: 11.98 kB / 1.224 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3371, allocations: 0 / 1.224 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3372, allocations: 4 kB / 1.224 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.3372, allocations: 3.938 kB / 1.224 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3372, allocations: 3.938 kB / 1.224 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.3375, allocations: 219.5 kB / 1.224 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.876e-05/0.3376, allocations: 96.91 kB / 1.224 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.3376, allocations: 7.984 kB / 1.224 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.373e-05/0.3377, allocations: 8 kB / 1.224 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.3377, allocations: 19.92 kB / 1.224 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.3377, allocations: 8 kB / 1.224 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000177/0.3379, allocations: 172.4 kB / 1.225 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3379, allocations: 0 / 1.225 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003494/0.3383, allocations: 67.95 kB / 1.225 GB, free: 5.484 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002254/0.3385, allocations: 117.8 kB / 1.225 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007849/0.3393, allocations: 492.2 kB / 1.225 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3393, allocations: 0 / 1.225 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.3394, allocations: 75.86 kB / 1.225 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.3399, allocations: 73.55 kB / 1.225 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007094/0.3406, allocations: 364.2 kB / 1.226 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.341, allocations: 0.7359 MB / 1.226 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.858e-05/0.341, allocations: 19.44 kB / 1.226 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.341, allocations: 0 / 1.226 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of Templates: time 0.006571/0.3476, allocations: 3.501 MB / 1.23 GB, free: 48 kB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.470760371070355]