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.0009303/0.0009303, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001695/0.001695, allocations: 165 kB / 23.82 MB, free: 0.75 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.9208/0.9208, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.88/1.88, allocations: 377.8 MB / 0.6236 GB, free: 8.566 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 1.503e-06/1.503e-06, allocations: 0.9844 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.588e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001227/0.001243, allocations: 0.7304 MB / 0.8123 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.002378, allocations: 1.187 MB / 0.8135 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.002424, allocations: 0 / 0.8135 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.002457, allocations: 3.938 kB / 0.8135 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.498e-05/0.002552, allocations: 17.45 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.002986, allocations: 127.6 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.003149, allocations: 124.9 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.254e-05/0.003231, allocations: 8 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.14e-05/0.003322, allocations: 71.88 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.481e-05/0.003407, allocations: 37.2 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.003429, allocations: 12 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.421e-05/0.003484, allocations: 27.98 kB / 0.8139 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.003504, allocations: 11.98 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.003549, allocations: 33.61 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.003699, allocations: 95.77 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003701, allocations: 0 / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.62e-07/0.003701, allocations: 0 / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.003705, allocations: 1.188 kB / 0.814 GB, free: 15.23 MB / 0.7761 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.0004141/0.004119, allocations: 426.1 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.004154, allocations: 8.031 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.004203, allocations: 14.73 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.814e-05/0.004291, allocations: 112.6 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.00431, allocations: 8.359 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.004325, allocations: 12.31 kB / 0.8146 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.417e-05/0.004409, allocations: 50.95 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.004416, allocations: 2.719 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.004424, allocations: 384 / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.004432, allocations: 384 / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.519e-05/0.004457, allocations: 11.92 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.004776, allocations: 311.7 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.715e-05/0.004823, allocations: 31 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.004842, allocations: 16.45 kB / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-06/0.004849, allocations: 4 kB / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.713e-05/0.004926, allocations: 65.52 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.004927, allocations: 1.656 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001564/0.005083, allocations: 69.58 kB / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.005116, allocations: 55.41 kB / 0.8152 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.629e-05/0.005202, allocations: 185.8 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.005218, allocations: 25.7 kB / 0.8154 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.005271, allocations: 139.5 kB / 0.8155 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.005283, allocations: 13 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.005327, allocations: 35.36 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.005429, allocations: 496.1 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.795e-05/0.005497, allocations: 58.8 kB / 0.8161 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.516e-05/0.005562, allocations: 84.75 kB / 0.8162 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.486e-05/0.005637, allocations: 93.41 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005639, allocations: 0 / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001702/0.00581, allocations: 182.4 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.005839, allocations: 41.64 kB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.005843, allocations: 1.938 kB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.005856, allocations: 0 / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.37e-05/0.005899, allocations: 4 kB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.005904, allocations: 3.984 kB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.4e-05/0.005998, allocations: 19.94 kB / 0.8165 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.006011, allocations: 8.688 kB / 0.8165 GB, free: 12.43 MB / 0.7761 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.768e-05/0.006079, allocations: 166.9 kB / 0.8166 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.006089, allocations: 11.92 kB / 0.8167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.006109, allocations: 8.062 kB / 0.8167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.006112, allocations: 4 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.006115, allocations: 0 / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.006118, allocations: 0 / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.386e-05/0.006192, allocations: 130.5 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.006192, allocations: 0 / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.046e-06/0.0062, allocations: 3.984 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006202, allocations: 0 / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.006211, allocations: 7.938 kB / 0.8168 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.006212, allocations: 0.5 kB / 0.8168 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.006213, allocations: 0 / 0.8168 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.52e-05/0.006288, allocations: 92.92 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.0063, allocations: 13.7 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.00631, allocations: 7.922 kB / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-06/0.00632, allocations: 0 / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.006345, allocations: 4 kB / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.00635, allocations: 7.938 kB / 0.8169 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.006393, allocations: 137 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.01e-07/0.006393, allocations: 0 / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001476/0.006541, allocations: 20 kB / 0.8171 GB, free: 11.77 MB / 0.7761 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.0001075/0.006648, allocations: 104.2 kB / 0.8172 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001768/0.006825, allocations: 161.4 kB / 0.8173 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.006827, allocations: 3.688 kB / 0.8173 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.322e-05/0.00685, allocations: 15.69 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.00701, allocations: 20.25 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.007261, allocations: 146.1 kB / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.183e-05/0.007293, allocations: 59.22 kB / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.007314, allocations: 7.984 kB / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.007331, allocations: 10.47 kB / 0.8176 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.007331, allocations: 0 / 0.8176 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of Templates: time 0.003401/0.01073, allocations: 1.61 MB / 0.8192 GB, free: 9.609 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] 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","",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.058108531869948]