Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.001116/0.001116, allocations: 77.09 kB / 20.65 MB, free: 3.852 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.001262/0.001262, allocations: 165 kB / 24.05 MB, free: 464 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.9326/0.9326, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.075/2.075, allocations: 429.5 MB / 0.6743 GB, free: 3.879 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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.701e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001274/0.001291, allocations: 0.6326 MB / 0.88 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.002473, allocations: 1.167 MB / 0.8812 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.00252, allocations: 0 / 0.8812 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.83e-05/0.002618, allocations: 7.922 kB / 0.8812 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.434e-05/0.002643, allocations: 6.688 kB / 0.8812 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.003022, allocations: 129.2 kB / 0.8813 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.003155, allocations: 83.89 kB / 0.8814 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.047e-05/0.003226, allocations: 3.938 kB / 0.8814 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.085e-05/0.003297, allocations: 56.58 kB / 0.8814 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.913e-05/0.003386, allocations: 25.3 kB / 0.8815 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.003406, allocations: 8 kB / 0.8815 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.751e-05/0.003464, allocations: 23.98 kB / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.003511, allocations: 7.984 kB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.003555, allocations: 32.69 kB / 0.8815 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.003671, allocations: 71.84 kB / 0.8816 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003673, allocations: 1.594 kB / 0.8816 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003673, allocations: 4 kB / 0.8816 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.003677, allocations: 0 / 0.8816 GB, free: 3.766 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003503/0.004027, allocations: 414.1 kB / 0.882 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.004062, allocations: 9.594 kB / 0.882 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.004101, allocations: 12.89 kB / 0.882 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.004229, allocations: 120.6 kB / 0.8821 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.004243, allocations: 4.375 kB / 0.8821 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.004258, allocations: 11.31 kB / 0.8821 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.815e-05/0.004327, allocations: 42.25 kB / 0.8822 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.004336, allocations: 4.172 kB / 0.8822 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.004342, allocations: 384 / 0.8822 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.004347, allocations: 384 / 0.8822 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.207e-05/0.004359, allocations: 7.938 kB / 0.8822 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.004578, allocations: 272.3 kB / 0.8825 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.531e-05/0.004614, allocations: 31.05 kB / 0.8825 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.045e-06/0.004622, allocations: 8.406 kB / 0.8825 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-06/0.004625, allocations: 4.062 kB / 0.8825 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.275e-05/0.004698, allocations: 62.33 kB / 0.8826 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.004699, allocations: 0 / 0.8826 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001354/0.004834, allocations: 57.62 kB / 0.8826 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.004863, allocations: 59.41 kB / 0.8827 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.879e-05/0.004932, allocations: 165.9 kB / 0.8828 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.00495, allocations: 33.7 kB / 0.8829 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.004994, allocations: 134.9 kB / 0.883 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.816e-06/0.005003, allocations: 7.938 kB / 0.883 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.005047, allocations: 39.34 kB / 0.883 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.005152, allocations: 496.1 kB / 0.8835 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.272e-05/0.005195, allocations: 45.69 kB / 0.8836 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-05/0.005245, allocations: 80.73 kB / 0.8836 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.252e-05/0.005308, allocations: 93.2 kB / 0.8837 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.00531, allocations: 0 / 0.8837 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000147/0.005457, allocations: 161 kB / 0.8839 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.005483, allocations: 41.62 kB / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.005489, allocations: 4 kB / 0.8839 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.005498, allocations: 0 / 0.8839 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.1e-05/0.005509, allocations: 7.938 kB / 0.8839 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.005511, allocations: 0 / 0.8839 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.005612, allocations: 23.88 kB / 0.8839 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.005626, allocations: 20.02 kB / 0.884 GB, free: 1.082 MB / 0.8386 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 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.576e-05/0.005692, allocations: 160.6 kB / 0.8841 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.0057, allocations: 3.938 kB / 0.8841 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.752e-05/0.005718, allocations: 8 kB / 0.8841 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.005719, allocations: 0 / 0.8841 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.005721, allocations: 0 / 0.8841 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.005724, allocations: 0 / 0.8841 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.099e-05/0.005795, allocations: 105.2 kB / 0.8842 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.005796, allocations: 0 / 0.8842 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-06/0.0058, allocations: 4 kB / 0.8842 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.005801, allocations: 4 kB / 0.8842 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-06/0.005804, allocations: 0 / 0.8842 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.005806, allocations: 7.922 kB / 0.8842 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.005807, allocations: 0 / 0.8842 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.752e-05/0.005874, allocations: 92.33 kB / 0.8843 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-06/0.00588, allocations: 0 / 0.8843 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-06/0.005886, allocations: 0 / 0.8843 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-06/0.005895, allocations: 7.938 kB / 0.8843 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.005912, allocations: 3.984 kB / 0.8843 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.005915, allocations: 0 / 0.8843 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.253e-05/0.005948, allocations: 123.2 kB / 0.8845 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.005948, allocations: 4 kB / 0.8845 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001399/0.006088, allocations: 20 kB / 0.8845 GB, free: 500 kB / 0.8386 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,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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 8.732e-05/0.006175, allocations: 99.23 kB / 0.8846 GB, free: 388 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.006308, allocations: 136.7 kB / 0.8847 GB, free: 228 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006309, allocations: 0 / 0.8847 GB, free: 228 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/0.006326, allocations: 15.67 kB / 0.8847 GB, free: 208 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.006507, allocations: 9.125 kB / 0.8847 GB, free: 200 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.00672, allocations: 146.2 kB / 0.8849 GB, free: 24 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.621e-05/0.006756, allocations: 55.36 kB / 0.8849 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.608e-05/0.006772, allocations: 3.984 kB / 0.8849 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.006837, allocations: 82.19 kB / 0.885 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.006838, allocations: 7.938 kB / 0.885 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of Templates: time 0.002615/0.009452, allocations: 1.306 MB / 0.8863 GB, free: 14.59 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.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.216218443121761]