Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001457/0.001457, allocations: 84.73 kB / 19.44 MB, free: 352 kB / 13.93 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.001662/0.001662, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.493/1.493, allocations: 177.1 MB / 203.1 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.246/3.246, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.8776 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.425e-05/3.689e-05, allocations: 6.188 kB / 0.8776 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002138/0.002175, allocations: 0.719 MB / 0.8783 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002194/0.004369, allocations: 1.147 MB / 0.8795 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.004437, allocations: 0.7656 kB / 0.8795 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.282e-05/0.00449, allocations: 9.047 kB / 0.8795 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.004623, allocations: 21.39 kB / 0.8795 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006278/0.005251, allocations: 120.7 kB / 0.8796 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000294/0.005545, allocations: 131.7 kB / 0.8797 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.005674, allocations: 9.156 kB / 0.8797 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.005826, allocations: 63.89 kB / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.005958, allocations: 39.88 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.005994, allocations: 14.03 kB / 0.8799 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.044e-05/0.006075, allocations: 27.94 kB / 0.8799 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.006099, allocations: 7.984 kB / 0.8799 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.006176, allocations: 31.92 kB / 0.8799 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.006448, allocations: 155.6 kB / 0.8801 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.006451, allocations: 2.5 kB / 0.8801 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.01e-07/0.006452, allocations: 0 / 0.8801 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.006458, allocations: 0 / 0.8801 GB, free: 3.977 MB / 0.8386 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.0006109/0.007069, allocations: 319.9 kB / 0.8804 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.007114, allocations: 8.031 kB / 0.8804 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.007186, allocations: 16.88 kB / 0.8804 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.007336, allocations: 125.6 kB / 0.8805 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.007358, allocations: 5.094 kB / 0.8805 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.007378, allocations: 4.375 kB / 0.8805 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.007507, allocations: 43.91 kB / 0.8806 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.007515, allocations: 192 / 0.8806 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.007526, allocations: 384 / 0.8806 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.007534, allocations: 4.375 kB / 0.8806 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.366e-05/0.007588, allocations: 19.92 kB / 0.8806 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007174/0.008305, allocations: 253 kB / 0.8808 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.684e-05/0.008392, allocations: 28.33 kB / 0.8809 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.00842, allocations: 12.92 kB / 0.8809 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.008433, allocations: 4 kB / 0.8809 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.008594, allocations: 68.67 kB / 0.8809 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.008595, allocations: 0 / 0.8809 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002405/0.008836, allocations: 81.56 kB / 0.881 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.008886, allocations: 55.41 kB / 0.8811 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.009031, allocations: 131.3 kB / 0.8812 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.009065, allocations: 29.7 kB / 0.8812 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.009149, allocations: 96.08 kB / 0.8813 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/0.009163, allocations: 3.953 kB / 0.8813 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.022e-05/0.009233, allocations: 33.7 kB / 0.8814 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.00943, allocations: 322.8 kB / 0.8817 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.009548, allocations: 65.69 kB / 0.8817 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.00968, allocations: 88.25 kB / 0.8818 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.009827, allocations: 96.27 kB / 0.8819 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.009829, allocations: 4 kB / 0.8819 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003474/0.01018, allocations: 204.9 kB / 0.8821 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.978e-05/0.01024, allocations: 45.62 kB / 0.8821 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01024, allocations: 4.062 kB / 0.8821 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.703e-05/0.01028, allocations: 240 / 0.8821 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.796e-05/0.01034, allocations: 7.938 kB / 0.8822 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.01034, allocations: 0 / 0.8822 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.01053, allocations: 27.91 kB / 0.8822 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.01056, allocations: 4 kB / 0.8822 GB, free: 1.578 MB / 0.8386 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.0001248/0.01068, allocations: 125.8 kB / 0.8823 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.0107, allocations: 11.89 kB / 0.8823 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.01073, allocations: 8 kB / 0.8823 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.01073, allocations: 4 kB / 0.8823 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01073, allocations: 0 / 0.8823 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.01074, allocations: 4 kB / 0.8823 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.01087, allocations: 113.3 kB / 0.8824 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.01087, allocations: 3.984 kB / 0.8824 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.407e-05/0.01089, allocations: 0 / 0.8824 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01089, allocations: 4 kB / 0.8824 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.0109, allocations: 3.938 kB / 0.8825 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.0109, allocations: 0 / 0.8825 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.0109, allocations: 0 / 0.8825 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.01105, allocations: 89.06 kB / 0.8825 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.01107, allocations: 15.94 kB / 0.8826 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.01109, allocations: 3.938 kB / 0.8826 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.909e-05/0.01111, allocations: 3.938 kB / 0.8826 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.01115, allocations: 4 kB / 0.8826 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.01116, allocations: 0 / 0.8826 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.069e-05/0.01125, allocations: 99.27 kB / 0.8827 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01125, allocations: 0 / 0.8827 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002157/0.01147, allocations: 16 kB / 0.8827 GB, free: 1.02 MB / 0.8386 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.0001996/0.01167, allocations: 99.23 kB / 0.8828 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.01196, allocations: 161 kB / 0.8829 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.01197, allocations: 4 kB / 0.8829 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-05/0.012, allocations: 12 kB / 0.8829 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.01228, allocations: 26.42 kB / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.01267, allocations: 144.4 kB / 0.8831 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.95e-05/0.01275, allocations: 67.47 kB / 0.8832 GB, free: 452 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.408e-05/0.01277, allocations: 11.94 kB / 0.8832 GB, free: 440 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.0128, allocations: 8.5 kB / 0.8832 GB, free: 432 kB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/0.0128, allocations: 0 / 0.8832 GB, free: 432 kB / 0.8386 GB Notification: Performance of Templates: time 0.004763/0.01756, allocations: 1.495 MB / 0.8846 GB, free: 14.97 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.173321895068511]