Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.0009686/0.0009686, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009099/0.0009099, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9175/0.9175, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.938/1.938, allocations: 377.9 MB / 0.624 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 177] 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.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.557e-05, allocations: 7.016 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001665/0.001691, allocations: 0.9685 MB / 0.813 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.00316, allocations: 1.389 MB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.194e-05/0.003242, allocations: 0 / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.003397, allocations: 23.73 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.33e-05/0.003491, allocations: 45.19 kB / 0.8144 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005926/0.004083, allocations: 280 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006356/0.004719, allocations: 379.8 kB / 0.815 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.004854, allocations: 47.42 kB / 0.8151 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.005116, allocations: 227.5 kB / 0.8153 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.005255, allocations: 100.4 kB / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.026e-05/0.005295, allocations: 29.12 kB / 0.8154 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.079e-05/0.005386, allocations: 39.94 kB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.005443, allocations: 51.83 kB / 0.8155 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.15e-05/0.005524, allocations: 92.95 kB / 0.8156 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.005776, allocations: 255.1 kB / 0.8158 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.005778, allocations: 0 / 0.8158 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.71e-07/0.005778, allocations: 1.375 kB / 0.8158 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.005782, allocations: 0 / 0.8158 GB, free: 13.57 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006127/0.006395, allocations: 0.6293 MB / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.006434, allocations: 12.03 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.006647, allocations: 72.66 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.006899, allocations: 227.6 kB / 0.8167 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.006926, allocations: 16.36 kB / 0.8167 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.006956, allocations: 26.19 kB / 0.8168 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.00718, allocations: 173.3 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.007189, allocations: 192 / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.007201, allocations: 5.125 kB / 0.8169 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.007211, allocations: 4.375 kB / 0.8169 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.975e-05/0.007271, allocations: 50.16 kB / 0.817 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006754/0.007946, allocations: 0.9644 MB / 0.8179 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.008053, allocations: 149.4 kB / 0.8181 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.008092, allocations: 54.42 kB / 0.8181 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.008103, allocations: 4 kB / 0.8181 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.008234, allocations: 141.8 kB / 0.8183 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.008236, allocations: 0 / 0.8183 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0002218/0.008458, allocations: 139.8 kB / 0.8184 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.008517, allocations: 162.2 kB / 0.8186 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.008659, allocations: 264.2 kB / 0.8188 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.008682, allocations: 29.7 kB / 0.8188 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.188e-05/0.008774, allocations: 211 kB / 0.819 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.008802, allocations: 31.73 kB / 0.8191 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/0.008876, allocations: 59.33 kB / 0.8191 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.009001, allocations: 0.5051 MB / 0.8196 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.436e-05/0.009096, allocations: 107.4 kB / 0.8197 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.009231, allocations: 255.9 kB / 0.82 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.009393, allocations: 213.6 kB / 0.8202 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.009396, allocations: 0 / 0.8202 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003304/0.009726, allocations: 336.1 kB / 0.8205 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.16e-05/0.009788, allocations: 75.39 kB / 0.8206 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.009797, allocations: 6.438 kB / 0.8206 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.009815, allocations: 4 kB / 0.8206 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/0.009895, allocations: 15.98 kB / 0.8206 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.009901, allocations: 4 kB / 0.8206 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.01006, allocations: 52.78 kB / 0.8206 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.01008, allocations: 25.11 kB / 0.8207 GB, free: 8.09 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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 9.736e-05/0.01018, allocations: 170.3 kB / 0.8208 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.01021, allocations: 31.83 kB / 0.8209 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.01025, allocations: 25.28 kB / 0.8209 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01025, allocations: 1.031 kB / 0.8209 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01025, allocations: 4 kB / 0.8209 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.01026, allocations: 3.984 kB / 0.8209 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.01039, allocations: 150 kB / 0.821 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01039, allocations: 0 / 0.821 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.01043, allocations: 25.67 kB / 0.8211 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.01044, allocations: 0 / 0.8211 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.01044, allocations: 7.984 kB / 0.8211 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01045, allocations: 0 / 0.8211 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.01045, allocations: 7.938 kB / 0.8211 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.01061, allocations: 180.3 kB / 0.8212 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.01063, allocations: 23.84 kB / 0.8213 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.01064, allocations: 4.719 kB / 0.8213 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.171e-05/0.01069, allocations: 15.98 kB / 0.8213 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.01072, allocations: 16.58 kB / 0.8213 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.01073, allocations: 6.375 kB / 0.8213 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.522e-05/0.01081, allocations: 185.1 kB / 0.8215 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01081, allocations: 0 / 0.8215 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004786/0.01128, allocations: 51.89 kB / 0.8215 GB, free: 7.125 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001341/0.01142, allocations: 111.2 kB / 0.8216 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.01167, allocations: 287.7 kB / 0.8219 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01167, allocations: 0 / 0.8219 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.156e-05/0.01172, allocations: 53.45 kB / 0.822 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.01194, allocations: 57.64 kB / 0.822 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.01238, allocations: 377.7 kB / 0.8224 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.706e-05/0.01244, allocations: 83.97 kB / 0.8225 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.933e-05/0.01251, allocations: 25.64 kB / 0.8225 GB, free: 6.031 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.01266, allocations: 134.1 kB / 0.8226 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of SimCode: time 1.032e-06/0.01266, allocations: 0 / 0.8226 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of Templates: time 0.00538/0.01804, allocations: 3.6 MB / 0.8261 GB, free: 2.383 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.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.045649623963982]