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.001929/0.001929, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001621/0.001621, allocations: 165.7 kB / 23.55 MB, free: 0.8906 MB / 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.511/1.511, allocations: 177.2 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.915/2.915, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] 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 2.134e-06/2.134e-06, allocations: 0 / 0.8108 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.168e-05/3.381e-05, allocations: 7.125 kB / 0.8108 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002363/0.002397, allocations: 0.9205 MB / 0.8117 GB, free: 36 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002689/0.005086, allocations: 1.465 MB / 0.8131 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.005239, allocations: 4 kB / 0.8132 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 7.11e-05/0.00531, allocations: 15.75 kB / 0.8132 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.005559, allocations: 64.94 kB / 0.8132 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.007114, allocations: 432.8 kB / 0.8136 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0008466/0.00796, allocations: 497.3 kB / 0.8141 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.008126, allocations: 33.88 kB / 0.8141 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005827/0.008709, allocations: 267.6 kB / 0.8144 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003565/0.009065, allocations: 131.6 kB / 0.8145 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.009188, allocations: 48 kB / 0.8146 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.009361, allocations: 63.92 kB / 0.8146 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.075e-05/0.009421, allocations: 41 kB / 0.8147 GB, free: 13 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002493/0.009671, allocations: 135.8 kB / 0.8148 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0008676/0.01054, allocations: 0.561 MB / 0.8154 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.01054, allocations: 0.7812 kB / 0.8154 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.353e-06/0.01055, allocations: 0 / 0.8154 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.01056, allocations: 1.344 kB / 0.8154 GB, free: 12.3 MB / 0.7292 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.001174/0.01173, allocations: 0.5663 MB / 0.8159 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.01178, allocations: 12.03 kB / 0.8159 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.01195, allocations: 38.55 kB / 0.816 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.01221, allocations: 165 kB / 0.8161 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.01225, allocations: 12.36 kB / 0.8161 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.548e-05/0.01233, allocations: 24.38 kB / 0.8161 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.01261, allocations: 127.5 kB / 0.8163 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.01262, allocations: 1.031 kB / 0.8163 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.01264, allocations: 4.375 kB / 0.8163 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.01265, allocations: 0.9062 kB / 0.8163 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.01279, allocations: 63.84 kB / 0.8163 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.01394, allocations: 0.7167 MB / 0.817 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.01415, allocations: 119.7 kB / 0.8172 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.138e-05/0.01424, allocations: 47.48 kB / 0.8172 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.01426, allocations: 8.469 kB / 0.8172 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004049/0.01466, allocations: 187.9 kB / 0.8174 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.01466, allocations: 0 / 0.8174 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.000575/0.01524, allocations: 233.4 kB / 0.8176 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.01536, allocations: 137.6 kB / 0.8177 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.0157, allocations: 241.7 kB / 0.818 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.991e-05/0.01577, allocations: 41.69 kB / 0.818 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.01592, allocations: 125.8 kB / 0.8181 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.01597, allocations: 35.8 kB / 0.8182 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.01618, allocations: 89.64 kB / 0.8182 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000223/0.01641, allocations: 335.7 kB / 0.8186 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/0.01687, allocations: 271 kB / 0.8188 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.01741, allocations: 350.3 kB / 0.8192 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005714/0.01798, allocations: 371 kB / 0.8195 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.01799, allocations: 5.219 kB / 0.8195 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001604/0.01959, allocations: 0.7032 MB / 0.8202 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.01973, allocations: 136.4 kB / 0.8203 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.01974, allocations: 4 kB / 0.8203 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.01977, allocations: 7.938 kB / 0.8203 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.01986, allocations: 15.98 kB / 0.8204 GB, free: 6.676 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.01988, allocations: 11.92 kB / 0.8204 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007152/0.02059, allocations: 110.9 kB / 0.8205 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.182e-05/0.02066, allocations: 28.52 kB / 0.8205 GB, free: 6.531 MB / 0.7292 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.0002125/0.02088, allocations: 156.2 kB / 0.8207 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.346e-05/0.02093, allocations: 24.84 kB / 0.8207 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.934e-05/0.02099, allocations: 25.27 kB / 0.8207 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.02099, allocations: 7.938 kB / 0.8207 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.021, allocations: 4.906 kB / 0.8207 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.02101, allocations: 0 / 0.8207 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.02129, allocations: 189.8 kB / 0.8209 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.02129, allocations: 0 / 0.8209 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.02134, allocations: 8.656 kB / 0.8209 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.02134, allocations: 0 / 0.8209 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.02136, allocations: 10.92 kB / 0.8209 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.02136, allocations: 0 / 0.8209 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.02136, allocations: 4 kB / 0.8209 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.02175, allocations: 234 kB / 0.8211 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.02179, allocations: 19.86 kB / 0.8212 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.02182, allocations: 8 kB / 0.8212 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.868e-05/0.02188, allocations: 3.984 kB / 0.8212 GB, free: 5.785 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.02194, allocations: 15.98 kB / 0.8212 GB, free: 5.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.02195, allocations: 10.58 kB / 0.8212 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002088/0.02216, allocations: 169.2 kB / 0.8214 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.02216, allocations: 0 / 0.8214 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003708/0.02253, allocations: 71.94 kB / 0.8214 GB, free: 5.527 MB / 0.7292 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.0002077/0.02274, allocations: 112.8 kB / 0.8215 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000949/0.02369, allocations: 0.5989 MB / 0.8221 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.02369, allocations: 1.062 kB / 0.8221 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.02381, allocations: 59.91 kB / 0.8222 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.02431, allocations: 68.8 kB / 0.8222 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007309/0.02505, allocations: 352.1 kB / 0.8226 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.02518, allocations: 118.8 kB / 0.8227 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.313e-05/0.02526, allocations: 19.86 kB / 0.8227 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.579e-05/0.0253, allocations: 16.5 kB / 0.8227 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of SimCode: time 4.41e-07/0.0253, allocations: 4 kB / 0.8227 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of Templates: time 0.01144/0.03675, allocations: 5.072 MB / 0.8277 GB, free: 15.14 MB / 0.7448 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.028040541918017]