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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 112.1 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.955/2.955, allocations: 489.3 MB / 0.7687 GB, free: 3.73 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002044/0.002044, allocations: 67.89 kB / 1.103 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00191/1.022, allocations: 0.7187 MB / 1.263 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001211/1.023, allocations: 1.133 MB / 1.264 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/1.023, allocations: 0.7812 kB / 1.264 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/1.023, allocations: 4.547 kB / 1.264 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.653e-05/1.023, allocations: 15.66 kB / 1.264 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/1.024, allocations: 134.6 kB / 1.265 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/1.024, allocations: 141.8 kB / 1.265 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.695e-05/1.024, allocations: 11.67 kB / 1.265 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/1.024, allocations: 44.28 kB / 1.265 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/1.024, allocations: 38.41 kB / 1.265 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/1.024, allocations: 12.41 kB / 1.265 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.617e-05/1.024, allocations: 29.78 kB / 1.265 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/1.024, allocations: 12.16 kB / 1.265 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.145e-05/1.025, allocations: 40.64 kB / 1.265 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002107/1.025, allocations: 135 kB / 1.265 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.025, allocations: 0 / 1.265 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/1.025, allocations: 0 / 1.265 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.29e-06/1.025, allocations: 1.469 kB / 1.265 GB, free: 6.445 MB / 0.9981 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.0004459/1.025, allocations: 401 kB / 1.265 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/1.025, allocations: 9.5 kB / 1.265 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/1.025, allocations: 10.67 kB / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/1.025, allocations: 179.3 kB / 1.266 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/1.025, allocations: 3.859 kB / 1.266 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/1.026, allocations: 8.906 kB / 1.266 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.793e-05/1.026, allocations: 46.52 kB / 1.266 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/1.026, allocations: 4.125 kB / 1.266 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/1.026, allocations: 4.469 kB / 1.266 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/1.026, allocations: 1.484 kB / 1.266 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.145e-05/1.026, allocations: 12.08 kB / 1.266 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/1.026, allocations: 331.1 kB / 1.266 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.296e-05/1.026, allocations: 35.27 kB / 1.266 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.318e-05/1.026, allocations: 13.48 kB / 1.266 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/1.026, allocations: 1.188 kB / 1.266 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/1.026, allocations: 64.62 kB / 1.266 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 2.034e-06/1.026, allocations: 0 / 1.266 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001986/1.027, allocations: 79.52 kB / 1.266 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/1.027, allocations: 52.7 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.114e-05/1.027, allocations: 130.5 kB / 1.266 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/1.027, allocations: 28.27 kB / 1.266 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/1.027, allocations: 88.27 kB / 1.266 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/1.027, allocations: 10.38 kB / 1.266 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/1.027, allocations: 30.89 kB / 1.266 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.288e-05/1.027, allocations: 318.8 kB / 1.267 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.854e-05/1.027, allocations: 34.45 kB / 1.267 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.049e-05/1.027, allocations: 60.23 kB / 1.267 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/1.027, allocations: 95.77 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.027, allocations: 0 / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002678/1.027, allocations: 161.9 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/1.027, allocations: 39.25 kB / 1.267 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/1.027, allocations: 4.844 kB / 1.267 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/1.027, allocations: 1.562 kB / 1.267 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.578e-05/1.028, allocations: 7.328 kB / 1.267 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/1.028, allocations: 5.547 kB / 1.267 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/1.028, allocations: 28.22 kB / 1.267 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/1.028, allocations: 6.344 kB / 1.267 GB, free: 4.379 MB / 0.9981 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.201e-05/1.028, allocations: 119.9 kB / 1.267 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/1.028, allocations: 11.5 kB / 1.267 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/1.028, allocations: 10.31 kB / 1.267 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/1.028, allocations: 8.969 kB / 1.267 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.028, allocations: 0 / 1.267 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.028, allocations: 1.703 kB / 1.267 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.4e-05/1.028, allocations: 173.6 kB / 1.268 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.028, allocations: 0 / 1.268 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.617e-05/1.028, allocations: 2.609 kB / 1.268 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/1.028, allocations: 0.7812 kB / 1.268 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/1.028, allocations: 1.312 kB / 1.268 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/1.028, allocations: 1.578 kB / 1.268 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.028, allocations: 3.984 kB / 1.268 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/1.028, allocations: 102 kB / 1.268 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/1.028, allocations: 82.7 kB / 1.268 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/1.028, allocations: 1.906 kB / 1.268 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/1.028, allocations: 5.031 kB / 1.268 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/1.028, allocations: 2.828 kB / 1.268 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/1.028, allocations: 1.953 kB / 1.268 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.497e-05/1.028, allocations: 94.98 kB / 1.268 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.028, allocations: 0 / 1.268 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002265/1.029, allocations: 25.05 kB / 1.268 GB, free: 3.746 MB / 0.9981 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.0001411/1.029, allocations: 105.7 kB / 1.268 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002448/1.029, allocations: 137.4 kB / 1.268 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.029, allocations: 0.75 kB / 1.268 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.238e-05/1.029, allocations: 16.48 kB / 1.268 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/1.029, allocations: 22.67 kB / 1.268 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/1.03, allocations: 171.1 kB / 1.268 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/1.03, allocations: 0.6839 MB / 1.269 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/1.03, allocations: 11.22 kB / 1.269 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/1.03, allocations: 0 / 1.269 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of Templates: time 0.003249/1.033, allocations: 1.174 MB / 1.27 GB, free: 2.566 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.320503539871424]