Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 82.64 kB / 20.68 MB, free: 3.812 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 181 kB / 24.09 MB, free: 412 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.011/1.011, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.966/1.966, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.086e-06/3.086e-06, allocations: 0 / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3.12e-05, allocations: 3.562 kB / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002288/0.002319, allocations: 0.938 MB / 0.8129 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002266/0.004585, allocations: 1.484 MB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.915e-05/0.004684, allocations: 4 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.927e-05/0.004734, allocations: 12.69 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.004913, allocations: 64.28 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009544/0.005868, allocations: 432.7 kB / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005087/0.006376, allocations: 0.4888 MB / 0.8154 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.006505, allocations: 25.95 kB / 0.8154 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.006827, allocations: 271.5 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.007055, allocations: 133.4 kB / 0.8158 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.612e-05/0.007132, allocations: 48 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.007255, allocations: 63.97 kB / 0.8159 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.007295, allocations: 31.86 kB / 0.8159 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.007444, allocations: 143.7 kB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.007837, allocations: 344.1 kB / 0.8164 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.00784, allocations: 0 / 0.8164 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.092e-06/0.007841, allocations: 0 / 0.8164 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.007847, allocations: 0.5312 kB / 0.8164 GB, free: 12.96 MB / 0.7761 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.0007362/0.008584, allocations: 0.6609 MB / 0.817 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.00864, allocations: 12.03 kB / 0.817 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.008747, allocations: 36.8 kB / 0.8171 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.008925, allocations: 171.7 kB / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.008965, allocations: 20.31 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.009016, allocations: 20.36 kB / 0.8173 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.009188, allocations: 117.7 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.009198, allocations: 4.656 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.009212, allocations: 5.094 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.009217, allocations: 384 / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.855e-05/0.009276, allocations: 32.44 kB / 0.8174 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000803/0.01008, allocations: 0.8733 MB / 0.8183 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.01021, allocations: 128.3 kB / 0.8184 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.01025, allocations: 47.36 kB / 0.8184 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.01026, allocations: 8.672 kB / 0.8184 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.01048, allocations: 172.2 kB / 0.8186 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.963e-06/0.01049, allocations: 0 / 0.8186 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0003623/0.01085, allocations: 182.3 kB / 0.8188 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.01092, allocations: 132.5 kB / 0.8189 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.01114, allocations: 277.5 kB / 0.8192 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/0.01119, allocations: 41.64 kB / 0.8192 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.01132, allocations: 179.3 kB / 0.8194 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.01136, allocations: 35.72 kB / 0.8194 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.01152, allocations: 100.1 kB / 0.8195 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004104/0.01193, allocations: 0.504 MB / 0.82 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.01216, allocations: 211.9 kB / 0.8202 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.01244, allocations: 331.3 kB / 0.8205 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.01275, allocations: 343.1 kB / 0.8208 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.01275, allocations: 4 kB / 0.8209 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007559/0.01351, allocations: 0.5915 MB / 0.8214 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.65e-05/0.01361, allocations: 134.8 kB / 0.8216 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.01362, allocations: 4 kB / 0.8216 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.01364, allocations: 4 kB / 0.8216 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.631e-05/0.01371, allocations: 19.92 kB / 0.8216 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.01372, allocations: 4 kB / 0.8216 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.0141, allocations: 81.78 kB / 0.8217 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/0.01415, allocations: 27.98 kB / 0.8217 GB, free: 6.934 MB / 0.7761 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.0001519/0.0143, allocations: 186.4 kB / 0.8219 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.01434, allocations: 28.98 kB / 0.8219 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.01439, allocations: 25.33 kB / 0.8219 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.01439, allocations: 0 / 0.8219 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.0144, allocations: 5.094 kB / 0.8219 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.0144, allocations: 0 / 0.8219 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.01458, allocations: 153.2 kB / 0.8221 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.01459, allocations: 0.6562 kB / 0.8221 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/0.01463, allocations: 19.92 kB / 0.8221 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.01463, allocations: 8.656 kB / 0.8221 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.01464, allocations: 0 / 0.8221 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.01465, allocations: 11.97 kB / 0.8221 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01465, allocations: 0 / 0.8221 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.0149, allocations: 210 kB / 0.8223 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.01494, allocations: 19.89 kB / 0.8223 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.01496, allocations: 11.94 kB / 0.8223 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.947e-05/0.01501, allocations: 3.938 kB / 0.8223 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.01505, allocations: 19.97 kB / 0.8224 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.01506, allocations: 4 kB / 0.8224 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001217/0.01518, allocations: 189.1 kB / 0.8226 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01519, allocations: 0 / 0.8226 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003659/0.01555, allocations: 71.89 kB / 0.8226 GB, free: 5.926 MB / 0.7761 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.0001695/0.01572, allocations: 110.4 kB / 0.8227 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005413/0.01626, allocations: 0.541 MB / 0.8233 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01626, allocations: 0 / 0.8233 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.513e-05/0.01634, allocations: 56.67 kB / 0.8233 GB, free: 5.133 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.01676, allocations: 67.8 kB / 0.8234 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.01725, allocations: 338.2 kB / 0.8237 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.287e-05/0.0173, allocations: 81.62 kB / 0.8238 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.079e-05/0.01735, allocations: 17.64 kB / 0.8238 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.01755, allocations: 159.3 kB / 0.8239 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of SimCode: time 1.212e-06/0.01755, allocations: 0 / 0.8239 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of Templates: time 0.007059/0.02461, allocations: 5.49 MB / 0.8293 GB, free: 15.07 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.377264803741127]