Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001033/0.001033, 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.00223/0.00223, 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 1.002/1.002, allocations: 177.1 MB / 204.2 MB, free: 5.238 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.909/1.909, allocations: 377.9 MB / 0.6236 GB, free: 8.551 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.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.637e-06/3.637e-06, allocations: 0.875 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.124e-05/3.488e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.004877/0.004911, allocations: 0.6274 MB / 0.8122 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.006411, allocations: 1.167 MB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.006472, allocations: 0.625 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.00659, allocations: 0 / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.983e-05/0.00663, allocations: 21.27 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.007165, allocations: 111.7 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003208/0.01037, allocations: 96.75 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.01048, allocations: 3.984 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.01058, allocations: 47.97 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.01069, allocations: 24.64 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.01072, allocations: 8.906 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-05/0.01079, allocations: 27.92 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.534e-05/0.01086, allocations: 11.92 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/0.01092, allocations: 24.64 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.01109, allocations: 75.83 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.0111, allocations: 1.25 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.636e-06/0.0111, allocations: 4 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.83e-06/0.01111, allocations: 0 / 0.8137 GB, free: 15.48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004749/0.01158, allocations: 407.1 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.01163, allocations: 11.97 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.275e-05/0.01169, allocations: 9.75 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.01188, allocations: 132.5 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.0119, allocations: 5.25 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.01192, allocations: 8.375 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.244e-05/0.01201, allocations: 38.25 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.01202, allocations: 1.438 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.01203, allocations: 4.375 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.01204, allocations: 384 / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.377e-05/0.01206, allocations: 17.7 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.01239, allocations: 279.8 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.302e-05/0.01244, allocations: 35.05 kB / 0.8146 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.503e-05/0.01245, allocations: 7.688 kB / 0.8146 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.529e-06/0.01246, allocations: 1.188 kB / 0.8146 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/0.01256, allocations: 68.98 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 2.394e-06/0.01257, allocations: 0 / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001854/0.01275, allocations: 58.64 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.01279, allocations: 59.41 kB / 0.8148 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.262e-05/0.01288, allocations: 165.9 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.0129, allocations: 26.73 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/0.013, allocations: 138.8 kB / 0.8151 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.091e-05/0.01301, allocations: 9.75 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.01307, allocations: 35.36 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.002198/0.01526, allocations: 496.1 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.0154, allocations: 61.56 kB / 0.8157 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.01551, allocations: 84.73 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.01564, allocations: 82.28 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.01564, allocations: 4 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003078/0.01595, allocations: 173.7 kB / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.382e-05/0.016, allocations: 49.84 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.01601, allocations: 0 / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/0.01604, allocations: 0 / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.544e-05/0.01607, allocations: 0 / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.01607, allocations: 4.625 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.01628, allocations: 20.64 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.01631, allocations: 10.17 kB / 0.8161 GB, free: 12.77 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 (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 0.000115/0.01642, allocations: 160.6 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.01644, allocations: 11.89 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.01648, allocations: 4 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.01648, allocations: 0 / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.01649, allocations: 8.625 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.0165, allocations: 4.703 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.01661, allocations: 116.6 kB / 0.8164 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01662, allocations: 1.219 kB / 0.8164 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.049e-05/0.01663, allocations: 4 kB / 0.8164 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.01663, allocations: 3.938 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.01664, allocations: 0.5312 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.01664, allocations: 0 / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.01665, allocations: 1.188 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.01679, allocations: 92.38 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.0168, allocations: 0 / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.01682, allocations: 8.734 kB / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.69e-05/0.01684, allocations: 4 kB / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.01687, allocations: 0.9375 kB / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.01688, allocations: 0 / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.618e-05/0.01695, allocations: 131.2 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01695, allocations: 5.344 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002519/0.0172, allocations: 15.95 kB / 0.8167 GB, free: 12.14 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,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 0.000202/0.0174, allocations: 104.1 kB / 0.8168 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.01766, allocations: 150.7 kB / 0.8169 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.01766, allocations: 0 / 0.8169 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.01769, allocations: 11.69 kB / 0.8169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.01798, allocations: 21.8 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.01839, allocations: 137.2 kB / 0.8171 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.666e-05/0.01844, allocations: 63.2 kB / 0.8171 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.698e-05/0.01846, allocations: 3.438 kB / 0.8171 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.01849, allocations: 12.5 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of SimCode: time 1.382e-06/0.0185, allocations: 0 / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of Templates: time 0.004142/0.02264, allocations: 1.28 MB / 0.8184 GB, free: 10.35 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.185107051860541]