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.001374/0.001374, allocations: 69.11 kB / 20.65 MB, free: 3.848 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.001439/0.001439, allocations: 173 kB / 24.06 MB, free: 448 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.9373/0.9373, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.116/2.116, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 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.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.124e-06/2.124e-06, allocations: 0 / 0.8794 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.77e-05, allocations: 3.625 kB / 0.8794 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001481/0.001508, allocations: 0.7207 MB / 0.8801 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.00285, allocations: 1.301 MB / 0.8814 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.968e-05/0.002909, allocations: 0.875 kB / 0.8814 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.003022, allocations: 16.73 kB / 0.8814 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.788e-05/0.00308, allocations: 16.78 kB / 0.8814 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006215/0.003701, allocations: 232.1 kB / 0.8816 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.003961, allocations: 252.1 kB / 0.8819 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.004081, allocations: 27.41 kB / 0.8819 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.004253, allocations: 151.8 kB / 0.882 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.004391, allocations: 67.84 kB / 0.8821 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.004418, allocations: 16 kB / 0.8821 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.964e-05/0.004508, allocations: 31.97 kB / 0.8821 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.004557, allocations: 31.86 kB / 0.8822 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.004619, allocations: 59.89 kB / 0.8822 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.004831, allocations: 188 kB / 0.8824 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004834, allocations: 0.5938 kB / 0.8824 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004835, allocations: 0 / 0.8824 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.004839, allocations: 0.9375 kB / 0.8824 GB, free: 2.777 MB / 0.8386 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.0007532/0.005593, allocations: 0.5274 MB / 0.8829 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.005626, allocations: 8.031 kB / 0.8829 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.005851, allocations: 54.34 kB / 0.883 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.006036, allocations: 177.9 kB / 0.8832 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.006055, allocations: 12.36 kB / 0.8832 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.006079, allocations: 16.38 kB / 0.8832 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.006195, allocations: 115.4 kB / 0.8833 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.006204, allocations: 4.125 kB / 0.8833 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.006217, allocations: 8.359 kB / 0.8833 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.006223, allocations: 384 / 0.8833 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.944e-05/0.006273, allocations: 27.86 kB / 0.8833 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.006754, allocations: 0.7352 MB / 0.884 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.405e-05/0.006808, allocations: 62.11 kB / 0.8841 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.006822, allocations: 19.36 kB / 0.8841 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-06/0.006826, allocations: 0 / 0.8841 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.006936, allocations: 96.47 kB / 0.8842 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.006937, allocations: 0 / 0.8842 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.000177/0.007114, allocations: 97.5 kB / 0.8843 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.007153, allocations: 85.05 kB / 0.8844 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.007269, allocations: 235.4 kB / 0.8846 GB, free: 292 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.007293, allocations: 29.7 kB / 0.8846 GB, free: 256 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.007374, allocations: 174.7 kB / 0.8848 GB, free: 76 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.007385, allocations: 11.89 kB / 0.8848 GB, free: 64 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.593e-05/0.007481, allocations: 67.41 kB / 0.8849 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.007608, allocations: 0.4923 MB / 0.8854 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-05/0.007699, allocations: 103.4 kB / 0.8855 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.007838, allocations: 247.6 kB / 0.8857 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.007989, allocations: 184.6 kB / 0.8859 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.007992, allocations: 0 / 0.8859 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003075/0.008299, allocations: 324.5 kB / 0.8862 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/0.008351, allocations: 71.33 kB / 0.8863 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.008357, allocations: 0 / 0.8863 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.008369, allocations: 4 kB / 0.8863 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.884e-05/0.008388, allocations: 4 kB / 0.8863 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.008393, allocations: 7.875 kB / 0.8863 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.008575, allocations: 54.91 kB / 0.8863 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.008594, allocations: 8.219 kB / 0.8863 GB, free: 14.33 MB / 0.8542 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 8.67e-05/0.00868, allocations: 176.6 kB / 0.8865 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.008695, allocations: 7.953 kB / 0.8865 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.008724, allocations: 12.34 kB / 0.8865 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.008727, allocations: 4 kB / 0.8865 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.008729, allocations: 0 / 0.8865 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.008735, allocations: 7.922 kB / 0.8865 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.717e-05/0.008832, allocations: 125.2 kB / 0.8866 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.008834, allocations: 0 / 0.8866 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.558e-06/0.008843, allocations: 4 kB / 0.8867 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.008846, allocations: 7.938 kB / 0.8867 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.008852, allocations: 3.984 kB / 0.8867 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.008853, allocations: 0 / 0.8867 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008854, allocations: 4 kB / 0.8867 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.008964, allocations: 120 kB / 0.8868 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.008975, allocations: 11.91 kB / 0.8868 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.008985, allocations: 4 kB / 0.8868 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.399e-05/0.008999, allocations: 0 / 0.8868 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.009022, allocations: 11.98 kB / 0.8868 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.009026, allocations: 0 / 0.8868 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.451e-05/0.00908, allocations: 151.1 kB / 0.887 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.00908, allocations: 4 kB / 0.887 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001906/0.009271, allocations: 43.89 kB / 0.887 GB, free: 13.58 MB / 0.8542 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.0001243/0.009395, allocations: 107.1 kB / 0.8871 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.00961, allocations: 269.8 kB / 0.8874 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.009612, allocations: 0 / 0.8874 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.583e-05/0.009638, allocations: 23.61 kB / 0.8874 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.009825, allocations: 24.48 kB / 0.8874 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.01015, allocations: 238.6 kB / 0.8876 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.963e-05/0.01019, allocations: 67.28 kB / 0.8877 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.114e-05/0.01023, allocations: 12.97 kB / 0.8877 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.01035, allocations: 110.2 kB / 0.8878 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of SimCode: time 7.61e-07/0.01035, allocations: 0 / 0.8878 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of Templates: time 0.004265/0.01461, allocations: 2.282 MB / 0.89 GB, free: 10.4 MB / 0.8542 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.343325280584395]