Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.001019/0.001019, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009812/0.0009812, allocations: 181 kB / 23.36 MB, free: 1.133 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.9587/0.9587, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.454/2.454, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.074e-05, allocations: 8.641 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001985/0.002016, allocations: 0.7114 MB / 0.8393 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.003959, allocations: 1.306 MB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.004024, allocations: 3.938 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.00415, allocations: 11.88 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.871e-05/0.004208, allocations: 19.8 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006432/0.004851, allocations: 239.4 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.0051, allocations: 247.5 kB / 0.8411 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.005199, allocations: 23.98 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.00538, allocations: 143.8 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.005565, allocations: 71.81 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.005604, allocations: 16 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.005709, allocations: 35.94 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.98e-05/0.005779, allocations: 39.83 kB / 0.8414 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.935e-05/0.005869, allocations: 59.89 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.006157, allocations: 179.4 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.006166, allocations: 0 / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.613e-06/0.006168, allocations: 0 / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.006173, allocations: 0 / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005122/0.006685, allocations: 403.7 kB / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.006725, allocations: 8.625 kB / 0.842 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/0.006994, allocations: 40.89 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.007242, allocations: 170.1 kB / 0.8422 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.007265, allocations: 12.38 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.007304, allocations: 24.36 kB / 0.8422 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.007447, allocations: 95.69 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.007458, allocations: 4.188 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.007469, allocations: 384 / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.007477, allocations: 4.375 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.062e-05/0.007518, allocations: 31.86 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.007974, allocations: 484.4 kB / 0.8428 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.13e-05/0.008035, allocations: 41.27 kB / 0.8429 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.008051, allocations: 17.84 kB / 0.8429 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-06/0.008055, allocations: 0 / 0.8429 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.008194, allocations: 92.97 kB / 0.843 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.008195, allocations: 0 / 0.843 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001627/0.008358, allocations: 77.86 kB / 0.843 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.00841, allocations: 81.09 kB / 0.8431 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.008535, allocations: 170.4 kB / 0.8433 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.008564, allocations: 29.7 kB / 0.8433 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/0.008638, allocations: 120 kB / 0.8434 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.008651, allocations: 15.94 kB / 0.8434 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-05/0.008738, allocations: 61.64 kB / 0.8435 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.008837, allocations: 322.8 kB / 0.8438 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.00894, allocations: 95.38 kB / 0.8439 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.00909, allocations: 211.3 kB / 0.8441 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.009245, allocations: 170.1 kB / 0.8443 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.009248, allocations: 0 / 0.8443 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002782/0.009527, allocations: 268.2 kB / 0.8445 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.633e-05/0.009583, allocations: 67.39 kB / 0.8446 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.009591, allocations: 4 kB / 0.8446 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.009607, allocations: 0 / 0.8446 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.791e-05/0.009624, allocations: 4 kB / 0.8446 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.009629, allocations: 4 kB / 0.8446 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.009842, allocations: 60.03 kB / 0.8446 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.009864, allocations: 4 kB / 0.8447 GB, free: 7.625 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con1.y,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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 0.0001029/0.009967, allocations: 136.5 kB / 0.8448 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.009992, allocations: 4 kB / 0.8448 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.01003, allocations: 16.33 kB / 0.8448 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01004, allocations: 0 / 0.8448 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.01004, allocations: 0 / 0.8448 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.01004, allocations: 11.94 kB / 0.8448 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.01015, allocations: 89.84 kB / 0.8449 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.01015, allocations: 0 / 0.8449 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-06/0.01016, allocations: 0 / 0.8449 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01016, allocations: 0 / 0.8449 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.01017, allocations: 4 kB / 0.8449 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01017, allocations: 0 / 0.8449 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01017, allocations: 0 / 0.8449 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.01029, allocations: 97.84 kB / 0.845 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.0103, allocations: 7.953 kB / 0.845 GB, free: 7.211 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.01032, allocations: 3.984 kB / 0.845 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.25e-05/0.01034, allocations: 4 kB / 0.845 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.01037, allocations: 8 kB / 0.845 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.01037, allocations: 3.984 kB / 0.845 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.105e-05/0.01042, allocations: 35.23 kB / 0.8451 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01042, allocations: 0 / 0.8451 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002554/0.01067, allocations: 39.89 kB / 0.8451 GB, free: 7.117 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001494/0.01082, allocations: 88.34 kB / 0.8452 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.01109, allocations: 267.2 kB / 0.8454 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.0111, allocations: 4.125 kB / 0.8454 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.456e-05/0.01113, allocations: 24.92 kB / 0.8455 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.0113, allocations: 19.97 kB / 0.8455 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.0117, allocations: 245 kB / 0.8457 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.173e-05/0.01174, allocations: 63.34 kB / 0.8458 GB, free: 6.32 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.887e-05/0.01178, allocations: 12.97 kB / 0.8458 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.01192, allocations: 87.34 kB / 0.8459 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of SimCode: time 1.232e-06/0.01192, allocations: 0 / 0.8459 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of Templates: time 0.00447/0.01639, allocations: 2.232 MB / 0.8481 GB, free: 4.031 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.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.352917566895485]