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.00101/0.00101, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009761/0.0009761, allocations: 169 kB / 23.27 MB, free: 1.227 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.9376/0.9376, allocations: 177.1 MB / 203.7 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] 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 2.356/2.356, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] 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 1.803e-06/1.803e-06, allocations: 0 / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.244e-05, allocations: 9.266 kB / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001515/0.001538, allocations: 0.7362 MB / 0.8905 GB, free: 9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004219/0.005756, allocations: 1.174 MB / 0.8917 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.005795, allocations: 4 kB / 0.8917 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.005818, allocations: 3.938 kB / 0.8917 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.287e-05/0.005891, allocations: 7.938 kB / 0.8917 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.006245, allocations: 131.6 kB / 0.8918 GB, free: 7.668 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.00639, allocations: 131.7 kB / 0.8919 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.841e-05/0.006458, allocations: 8 kB / 0.8919 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.332e-05/0.006551, allocations: 63.89 kB / 0.892 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.349e-05/0.006635, allocations: 39.88 kB / 0.892 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.006658, allocations: 12 kB / 0.892 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.702e-05/0.006715, allocations: 31.98 kB / 0.8921 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.006731, allocations: 0 / 0.8921 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.006771, allocations: 39.91 kB / 0.8921 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.006896, allocations: 91.77 kB / 0.8922 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.006898, allocations: 7.938 kB / 0.8922 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.62e-07/0.006899, allocations: 0 / 0.8922 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.006902, allocations: 0 / 0.8922 GB, free: 7.25 MB / 0.8542 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.0003492/0.007251, allocations: 426.1 kB / 0.8926 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.007285, allocations: 8.625 kB / 0.8926 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.007323, allocations: 12.89 kB / 0.8926 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.488e-05/0.007397, allocations: 120.6 kB / 0.8927 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.007411, allocations: 8.375 kB / 0.8928 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.007425, allocations: 4.375 kB / 0.8928 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.785e-05/0.007483, allocations: 50.89 kB / 0.8928 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.007488, allocations: 192 / 0.8928 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.007496, allocations: 4.375 kB / 0.8928 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.007502, allocations: 4.375 kB / 0.8928 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.007522, allocations: 7.938 kB / 0.8928 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.007781, allocations: 284.4 kB / 0.8931 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.052e-05/0.007822, allocations: 35 kB / 0.8931 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.173e-05/0.007833, allocations: 11.69 kB / 0.8931 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/0.007839, allocations: 64 / 0.8931 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.34e-05/0.007912, allocations: 68.98 kB / 0.8932 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.814e-06/0.007914, allocations: 3.984 kB / 0.8932 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.003143/0.01106, allocations: 73.55 kB / 0.8933 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.01108, allocations: 51.41 kB / 0.8933 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/0.01117, allocations: 185.8 kB / 0.8935 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.01119, allocations: 25.7 kB / 0.8935 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.01124, allocations: 142.8 kB / 0.8937 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.01125, allocations: 7.953 kB / 0.8937 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.01131, allocations: 39.34 kB / 0.8937 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.01143, allocations: 0.4923 MB / 0.8942 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.335e-05/0.01148, allocations: 49.69 kB / 0.8942 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.308e-05/0.01154, allocations: 84.67 kB / 0.8943 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.487e-05/0.01162, allocations: 84.69 kB / 0.8944 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01162, allocations: 0 / 0.8944 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001839/0.0118, allocations: 169 kB / 0.8946 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.01183, allocations: 41.69 kB / 0.8946 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01184, allocations: 3.938 kB / 0.8946 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.01184, allocations: 4.062 kB / 0.8946 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.551e-05/0.01188, allocations: 4 kB / 0.8946 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-06/0.01188, allocations: 0 / 0.8946 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.01199, allocations: 19.98 kB / 0.8946 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.012, allocations: 11.98 kB / 0.8946 GB, free: 4.48 MB / 0.8542 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 7.024e-05/0.01207, allocations: 160.5 kB / 0.8948 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.01209, allocations: 7.953 kB / 0.8948 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/0.01211, allocations: 11.94 kB / 0.8948 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01211, allocations: 4 kB / 0.8948 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01211, allocations: 4 kB / 0.8948 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01212, allocations: 3.984 kB / 0.8948 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.423e-05/0.01219, allocations: 105.2 kB / 0.8949 GB, free: 4.145 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.01219, allocations: 0 / 0.8949 GB, free: 4.145 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-06/0.0122, allocations: 4.062 kB / 0.8949 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.0122, allocations: 0 / 0.8949 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.01221, allocations: 8 kB / 0.8949 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.01221, allocations: 0 / 0.8949 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01221, allocations: 3.938 kB / 0.8949 GB, free: 4.129 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.13e-05/0.01229, allocations: 92.38 kB / 0.895 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.0123, allocations: 11.98 kB / 0.895 GB, free: 4.004 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.01231, allocations: 3.938 kB / 0.895 GB, free: 4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.314e-05/0.01233, allocations: 0 / 0.895 GB, free: 4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-05/0.01234, allocations: 3.938 kB / 0.895 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.01235, allocations: 4 kB / 0.8951 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.578e-05/0.01239, allocations: 135.5 kB / 0.8952 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01239, allocations: 0 / 0.8952 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001931/0.01259, allocations: 23.98 kB / 0.8952 GB, free: 3.836 MB / 0.8542 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 9.616e-05/0.01268, allocations: 103.1 kB / 0.8953 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.01282, allocations: 148.7 kB / 0.8954 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.01283, allocations: 0 / 0.8954 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.066e-05/0.01285, allocations: 19.67 kB / 0.8955 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.01302, allocations: 15.98 kB / 0.8955 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002162/0.01324, allocations: 150 kB / 0.8956 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.005e-05/0.01327, allocations: 61.58 kB / 0.8957 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.745e-05/0.01329, allocations: 4 kB / 0.8957 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/0.01337, allocations: 90.31 kB / 0.8958 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of SimCode: time 3.81e-07/0.01337, allocations: 0 / 0.8958 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of Templates: time 0.002941/0.01631, allocations: 1.629 MB / 0.8974 GB, free: 1.574 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.138352601323277]