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.0008312/0.0008312, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008249/0.0008249, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.9108/0.9108, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.796/1.796, allocations: 377.9 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] 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.174e-06/2.174e-06, allocations: 0 / 0.9822 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.527e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001279/0.001304, allocations: 0.7201 MB / 0.9829 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.002604, allocations: 1.151 MB / 0.9841 GB, free: 160 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.002652, allocations: 0 / 0.9841 GB, free: 160 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.002684, allocations: 3.938 kB / 0.9841 GB, free: 156 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.831e-05/0.002773, allocations: 23.86 kB / 0.9841 GB, free: 132 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.003181, allocations: 132.6 kB / 0.9842 GB, free: 4 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.003337, allocations: 123.9 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.29e-05/0.00343, allocations: 7.984 kB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.244e-05/0.003522, allocations: 67.89 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.124e-05/0.003613, allocations: 35.89 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.003636, allocations: 12 kB / 0.9845 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.063e-05/0.003697, allocations: 31.91 kB / 0.9845 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.003718, allocations: 4 kB / 0.9845 GB, free: 15.72 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.899e-05/0.003767, allocations: 35.92 kB / 0.9845 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.003961, allocations: 163.5 kB / 0.9847 GB, free: 15.53 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003963, allocations: 0 / 0.9847 GB, free: 15.53 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.103e-06/0.003965, allocations: 0 / 0.9847 GB, free: 15.53 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.003969, allocations: 0 / 0.9847 GB, free: 15.53 MB / 0.948 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.0004399/0.004409, allocations: 319.8 kB / 0.985 GB, free: 15.18 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.00445, allocations: 8.031 kB / 0.985 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.004496, allocations: 8.938 kB / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.004597, allocations: 125.6 kB / 0.9851 GB, free: 15.01 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.004616, allocations: 4.375 kB / 0.9851 GB, free: 15.01 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.004632, allocations: 8.359 kB / 0.9851 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.69e-05/0.004719, allocations: 50.25 kB / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.004727, allocations: 192 / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.004737, allocations: 384 / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.004742, allocations: 384 / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.802e-05/0.00478, allocations: 15.94 kB / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.005111, allocations: 260.5 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.14e-05/0.005163, allocations: 22.58 kB / 0.9855 GB, free: 14.61 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.005182, allocations: 16.92 kB / 0.9855 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/0.005192, allocations: 0 / 0.9855 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.005302, allocations: 71.31 kB / 0.9856 GB, free: 14.51 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.005303, allocations: 4 kB / 0.9856 GB, free: 14.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001716/0.005475, allocations: 77.8 kB / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.005507, allocations: 51.41 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.354e-05/0.00559, allocations: 133.8 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.005607, allocations: 25.7 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.005654, allocations: 88.14 kB / 0.9859 GB, free: 14.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.005669, allocations: 11.94 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.005714, allocations: 33.7 kB / 0.986 GB, free: 14.05 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.38e-05/0.005788, allocations: 314.8 kB / 0.9863 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.757e-05/0.005865, allocations: 73.62 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.399e-05/0.005939, allocations: 92.25 kB / 0.9864 GB, free: 13.55 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.391e-05/0.006023, allocations: 96.2 kB / 0.9865 GB, free: 13.44 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.006025, allocations: 0 / 0.9865 GB, free: 13.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001837/0.006209, allocations: 193 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.006241, allocations: 45.62 kB / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.006246, allocations: 0 / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.006258, allocations: 0 / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.907e-05/0.006307, allocations: 4 kB / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.006312, allocations: 4.062 kB / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.006428, allocations: 27.91 kB / 0.9868 GB, free: 13.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.006442, allocations: 11.98 kB / 0.9868 GB, free: 13.14 MB / 0.948 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 6.304e-05/0.006505, allocations: 121.7 kB / 0.9869 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-06/0.006514, allocations: 11.95 kB / 0.9869 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.006538, allocations: 12 kB / 0.9869 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006539, allocations: 0 / 0.9869 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.006544, allocations: 4 kB / 0.9869 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.006547, allocations: 0 / 0.9869 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.824e-05/0.006615, allocations: 117.3 kB / 0.987 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.006616, allocations: 0 / 0.987 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.528e-06/0.006625, allocations: 8 kB / 0.987 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.006626, allocations: 0 / 0.987 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.006633, allocations: 3.938 kB / 0.987 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.006634, allocations: 0 / 0.987 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006634, allocations: 0 / 0.987 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.024e-05/0.006715, allocations: 93 kB / 0.9871 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.347e-06/0.006724, allocations: 4 kB / 0.9871 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.006741, allocations: 7.938 kB / 0.9871 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.126e-05/0.006752, allocations: 0 / 0.9871 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.006776, allocations: 4 kB / 0.9872 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.006781, allocations: 7.984 kB / 0.9872 GB, free: 12.69 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.049e-05/0.006822, allocations: 95.28 kB / 0.9873 GB, free: 12.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006822, allocations: 0 / 0.9873 GB, free: 12.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001413/0.006963, allocations: 23.92 kB / 0.9873 GB, free: 12.57 MB / 0.948 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.0001129/0.007076, allocations: 95.78 kB / 0.9874 GB, free: 12.47 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.007248, allocations: 161 kB / 0.9875 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.007251, allocations: 0 / 0.9875 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.497e-05/0.007276, allocations: 16.12 kB / 0.9875 GB, free: 12.28 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.00744, allocations: 15.98 kB / 0.9875 GB, free: 12.26 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.007706, allocations: 162.5 kB / 0.9877 GB, free: 12.07 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.373e-05/0.00775, allocations: 67.59 kB / 0.9878 GB, free: 11.98 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.007771, allocations: 12.5 kB / 0.9878 GB, free: 11.97 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/0.007771, allocations: 0 / 0.9878 GB, free: 11.97 MB / 0.948 GB Notification: Performance of Templates: time 0.001942/0.009713, allocations: 1.188 MB / 0.9889 GB, free: 10.79 MB / 0.948 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: 6.537194146774709]