Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001967/0.001967, allocations: 84.39 kB / 20.23 MB, free: 4.312 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.0019/0.0019, allocations: 169.2 kB / 23.55 MB, free: 0.9922 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.523/1.523, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.804/2.804, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.818e-05/4.08e-05, allocations: 3.078 kB / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002716/0.002757, allocations: 0.7098 MB / 0.7871 GB, free: 10.99 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002332/0.005088, allocations: 1.152 MB / 0.7882 GB, free: 9.828 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8e-05/0.005168, allocations: 4 kB / 0.7882 GB, free: 9.824 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.00521, allocations: 4.844 kB / 0.7882 GB, free: 9.82 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.005346, allocations: 15.91 kB / 0.7883 GB, free: 9.805 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000641/0.005987, allocations: 128.5 kB / 0.7884 GB, free: 9.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.006251, allocations: 124.3 kB / 0.7885 GB, free: 9.559 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.006365, allocations: 13.14 kB / 0.7885 GB, free: 9.547 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.00655, allocations: 63.89 kB / 0.7886 GB, free: 9.484 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.006678, allocations: 27.97 kB / 0.7886 GB, free: 9.457 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/0.006717, allocations: 12.56 kB / 0.7886 GB, free: 9.445 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.676e-05/0.006814, allocations: 35.84 kB / 0.7886 GB, free: 9.41 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.016e-05/0.006844, allocations: 8.797 kB / 0.7887 GB, free: 9.402 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.545e-05/0.00693, allocations: 35.92 kB / 0.7887 GB, free: 9.367 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.007224, allocations: 148.5 kB / 0.7888 GB, free: 9.223 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.007229, allocations: 0 / 0.7888 GB, free: 9.223 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.373e-06/0.00723, allocations: 4 kB / 0.7888 GB, free: 9.219 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.007236, allocations: 4.594 kB / 0.7888 GB, free: 9.215 MB / 0.698 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.0007732/0.008009, allocations: 321.4 kB / 0.7891 GB, free: 8.863 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.008053, allocations: 8.031 kB / 0.7892 GB, free: 8.855 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.699e-05/0.00813, allocations: 8.922 kB / 0.7892 GB, free: 8.848 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.008313, allocations: 129.7 kB / 0.7893 GB, free: 8.695 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.008341, allocations: 5.906 kB / 0.7893 GB, free: 8.691 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.008366, allocations: 4.375 kB / 0.7893 GB, free: 8.688 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.008506, allocations: 50.17 kB / 0.7893 GB, free: 8.633 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.008515, allocations: 192 / 0.7893 GB, free: 8.633 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.008526, allocations: 384 / 0.7893 GB, free: 8.633 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.008531, allocations: 1.969 kB / 0.7893 GB, free: 8.633 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.991e-05/0.008591, allocations: 19.92 kB / 0.7894 GB, free: 8.613 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.009108, allocations: 248.5 kB / 0.7896 GB, free: 8.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.009209, allocations: 41.94 kB / 0.7896 GB, free: 8.293 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.009244, allocations: 12.92 kB / 0.7897 GB, free: 8.277 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.009259, allocations: 0 / 0.7897 GB, free: 8.277 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.009501, allocations: 71.33 kB / 0.7897 GB, free: 8.195 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.009502, allocations: 0 / 0.7897 GB, free: 8.195 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002757/0.009778, allocations: 77.61 kB / 0.7898 GB, free: 8.113 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.009841, allocations: 55.41 kB / 0.7898 GB, free: 8.047 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.009993, allocations: 125.8 kB / 0.79 GB, free: 7.914 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.01003, allocations: 29.7 kB / 0.79 GB, free: 7.879 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/0.01012, allocations: 92.81 kB / 0.7901 GB, free: 7.785 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.01014, allocations: 3.953 kB / 0.7901 GB, free: 7.781 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.317e-05/0.01022, allocations: 30.3 kB / 0.7901 GB, free: 7.746 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002052/0.01042, allocations: 319.5 kB / 0.7904 GB, free: 7.426 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.01055, allocations: 65.69 kB / 0.7905 GB, free: 7.355 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.01069, allocations: 93.5 kB / 0.7906 GB, free: 7.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.01084, allocations: 92.2 kB / 0.7907 GB, free: 7.145 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01084, allocations: 4.562 kB / 0.7907 GB, free: 7.141 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003627/0.0112, allocations: 206.1 kB / 0.7909 GB, free: 6.922 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.92e-05/0.01125, allocations: 41.64 kB / 0.7909 GB, free: 6.875 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.01126, allocations: 3.984 kB / 0.7909 GB, free: 6.871 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.544e-05/0.01129, allocations: 4.781 kB / 0.7909 GB, free: 6.867 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.01135, allocations: 0 / 0.7909 GB, free: 6.867 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.01137, allocations: 4.688 kB / 0.7909 GB, free: 6.863 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.01157, allocations: 29.16 kB / 0.7909 GB, free: 6.836 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.01159, allocations: 4 kB / 0.7909 GB, free: 6.832 MB / 0.698 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.0001182/0.0117, allocations: 114.5 kB / 0.7911 GB, free: 6.711 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.01173, allocations: 21.06 kB / 0.7911 GB, free: 6.691 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.01177, allocations: 12 kB / 0.7911 GB, free: 6.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.01177, allocations: 0 / 0.7911 GB, free: 6.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.01177, allocations: 0 / 0.7911 GB, free: 6.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01178, allocations: 2.219 kB / 0.7911 GB, free: 6.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.01192, allocations: 117.3 kB / 0.7912 GB, free: 6.535 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01192, allocations: 0 / 0.7912 GB, free: 6.535 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.107e-05/0.01194, allocations: 7.984 kB / 0.7912 GB, free: 6.527 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01194, allocations: 0 / 0.7912 GB, free: 6.527 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01195, allocations: 3.938 kB / 0.7912 GB, free: 6.523 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01196, allocations: 6.781 kB / 0.7912 GB, free: 6.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01196, allocations: 80 / 0.7912 GB, free: 6.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.01211, allocations: 89.3 kB / 0.7913 GB, free: 6.414 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.01213, allocations: 7.984 kB / 0.7913 GB, free: 6.406 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.01214, allocations: 7.938 kB / 0.7913 GB, free: 6.398 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.857e-05/0.01216, allocations: 0 / 0.7913 GB, free: 6.398 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.0122, allocations: 3.938 kB / 0.7913 GB, free: 6.395 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.01221, allocations: 5.469 kB / 0.7913 GB, free: 6.391 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.815e-05/0.0123, allocations: 99.7 kB / 0.7914 GB, free: 6.293 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.0123, allocations: 0 / 0.7914 GB, free: 6.293 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002187/0.01252, allocations: 19.95 kB / 0.7914 GB, free: 6.273 MB / 0.698 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.0002011/0.01272, allocations: 104.3 kB / 0.7915 GB, free: 6.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.01301, allocations: 158.4 kB / 0.7917 GB, free: 5.988 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01301, allocations: 0 / 0.7917 GB, free: 5.988 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.416e-05/0.01306, allocations: 19.94 kB / 0.7917 GB, free: 5.969 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.01332, allocations: 21.5 kB / 0.7917 GB, free: 5.953 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.01372, allocations: 140.1 kB / 0.7919 GB, free: 5.793 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.398e-05/0.0138, allocations: 75.19 kB / 0.7919 GB, free: 5.699 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.593e-05/0.01382, allocations: 4.531 kB / 0.7919 GB, free: 5.695 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.01385, allocations: 9 kB / 0.792 GB, free: 5.688 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.01385, allocations: 1.125 kB / 0.792 GB, free: 5.688 MB / 0.698 GB Notification: Performance of Templates: time 0.004746/0.0186, allocations: 1.495 MB / 0.7934 GB, free: 4.242 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.7902948840055615]