Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001384/0.001384, allocations: 80.84 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001537/0.001537, allocations: 159.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.491/1.491, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 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 3.07/3.07, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.9815 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.223e-05/3.49e-05, allocations: 2.281 kB / 0.9815 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001953/0.001988, allocations: 0.7053 MB / 0.9822 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.003711, allocations: 1.151 MB / 0.9833 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.003766, allocations: 0 / 0.9833 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.0038, allocations: 3.938 kB / 0.9833 GB, free: 8.988 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.494e-05/0.003895, allocations: 19.86 kB / 0.9833 GB, free: 8.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005352/0.00443, allocations: 130.8 kB / 0.9834 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.00464, allocations: 127.8 kB / 0.9836 GB, free: 8.719 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.004752, allocations: 19.98 kB / 0.9836 GB, free: 8.699 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.004884, allocations: 67.83 kB / 0.9837 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.004992, allocations: 35.89 kB / 0.9837 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.005025, allocations: 12 kB / 0.9837 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.557e-05/0.005101, allocations: 27.92 kB / 0.9837 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.005124, allocations: 11.92 kB / 0.9837 GB, free: 8.547 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.005189, allocations: 31.92 kB / 0.9838 GB, free: 8.516 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.005429, allocations: 155.7 kB / 0.9839 GB, free: 8.363 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.005433, allocations: 0 / 0.9839 GB, free: 8.363 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005434, allocations: 0 / 0.9839 GB, free: 8.363 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.005441, allocations: 4 kB / 0.9839 GB, free: 8.359 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005691/0.006011, allocations: 315.9 kB / 0.9842 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.006054, allocations: 11.97 kB / 0.9842 GB, free: 8 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.006105, allocations: 8.891 kB / 0.9842 GB, free: 7.992 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.006246, allocations: 121.7 kB / 0.9844 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.006262, allocations: 4.375 kB / 0.9844 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.006286, allocations: 4.375 kB / 0.9844 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.006394, allocations: 50.19 kB / 0.9844 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.006402, allocations: 192 / 0.9844 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.006411, allocations: 384 / 0.9844 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.006418, allocations: 4.359 kB / 0.9844 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.708e-05/0.006465, allocations: 19.94 kB / 0.9844 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.006928, allocations: 248.6 kB / 0.9847 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.975e-05/0.007007, allocations: 30.52 kB / 0.9847 GB, free: 7.449 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.007041, allocations: 16.92 kB / 0.9847 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.007051, allocations: 0 / 0.9847 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.007239, allocations: 71.28 kB / 0.9848 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.00724, allocations: 0 / 0.9848 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002493/0.007489, allocations: 73.67 kB / 0.9849 GB, free: 7.27 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.007542, allocations: 55.34 kB / 0.9849 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.00768, allocations: 129.8 kB / 0.985 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.00771, allocations: 29.69 kB / 0.9851 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.007788, allocations: 92.09 kB / 0.9851 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.007811, allocations: 15.94 kB / 0.9852 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/0.007888, allocations: 29.7 kB / 0.9852 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.008053, allocations: 314.8 kB / 0.9855 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.008169, allocations: 69.69 kB / 0.9856 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.008297, allocations: 88.25 kB / 0.9856 GB, free: 6.395 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.008446, allocations: 96.2 kB / 0.9857 GB, free: 6.285 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.008448, allocations: 4 kB / 0.9857 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003594/0.008807, allocations: 193 kB / 0.9859 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.371e-05/0.008861, allocations: 45.62 kB / 0.986 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.008867, allocations: 7.875 kB / 0.986 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.008883, allocations: 0 / 0.986 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.5e-05/0.008948, allocations: 4 kB / 0.986 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.008953, allocations: 0 / 0.986 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.009156, allocations: 27.91 kB / 0.986 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.00918, allocations: 12.06 kB / 0.986 GB, free: 5.973 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001063/0.009287, allocations: 117.8 kB / 0.9861 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.009305, allocations: 11.89 kB / 0.9861 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.009332, allocations: 8.234 kB / 0.9861 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.009338, allocations: 3.984 kB / 0.9862 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.009342, allocations: 0 / 0.9862 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.009348, allocations: 4 kB / 0.9862 GB, free: 5.816 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.009459, allocations: 113.3 kB / 0.9863 GB, free: 5.676 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.009463, allocations: 3.984 kB / 0.9863 GB, free: 5.672 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.00948, allocations: 3.938 kB / 0.9863 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.009481, allocations: 8 kB / 0.9863 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.00949, allocations: 4 kB / 0.9863 GB, free: 5.656 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.009495, allocations: 4 kB / 0.9863 GB, free: 5.652 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.009496, allocations: 0 / 0.9863 GB, free: 5.652 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.009623, allocations: 85.08 kB / 0.9864 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.009639, allocations: 7.984 kB / 0.9864 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.009656, allocations: 7.938 kB / 0.9864 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.896e-05/0.009675, allocations: 0 / 0.9864 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.009708, allocations: 0 / 0.9864 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.009716, allocations: 4 kB / 0.9864 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 8.006e-05/0.009797, allocations: 99.27 kB / 0.9865 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8e-08/0.009797, allocations: 4 kB / 0.9865 GB, free: 5.43 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002257/0.01002, allocations: 16 kB / 0.9865 GB, free: 5.414 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001769/0.0102, allocations: 103.7 kB / 0.9866 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.01046, allocations: 153.1 kB / 0.9867 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01046, allocations: 0 / 0.9867 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.0105, allocations: 19.94 kB / 0.9868 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.01075, allocations: 27.98 kB / 0.9868 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.01111, allocations: 144.7 kB / 0.9869 GB, free: 4.922 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.2e-05/0.01119, allocations: 71.33 kB / 0.987 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.744e-05/0.01121, allocations: 4 kB / 0.987 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.01124, allocations: 8.5 kB / 0.987 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of SimCode: time 4.81e-07/0.01124, allocations: 0 / 0.987 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of Templates: time 0.004774/0.01601, allocations: 1.474 MB / 0.9884 GB, free: 3.387 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.455872811377048]