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.001003/0.001003, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.0009473/0.0009473, allocations: 169 kB / 23.02 MB, free: 1.543 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.9834/0.9834, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.081/2.081, allocations: 429.5 MB / 0.6732 GB, free: 4.059 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 2.425e-06/2.425e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.474e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00137/0.001395, allocations: 0.6419 MB / 0.8788 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.002415, allocations: 1.17 MB / 0.8799 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.002455, allocations: 1.062 kB / 0.8799 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.909e-05/0.002544, allocations: 0 / 0.8799 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.574e-05/0.00257, allocations: 12.28 kB / 0.88 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.002929, allocations: 123.6 kB / 0.8801 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.003045, allocations: 79.89 kB / 0.8801 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.347e-05/0.003119, allocations: 15.86 kB / 0.8802 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.576e-05/0.003185, allocations: 55.89 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.15e-05/0.003266, allocations: 22.22 kB / 0.8802 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.003287, allocations: 8 kB / 0.8802 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.238e-05/0.00334, allocations: 19.98 kB / 0.8803 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.003393, allocations: 15.91 kB / 0.8803 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.003441, allocations: 23.98 kB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.003567, allocations: 75.89 kB / 0.8804 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003569, allocations: 0.7188 kB / 0.8804 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.71e-07/0.00357, allocations: 1.656 kB / 0.8804 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.003574, allocations: 0 / 0.8804 GB, free: 4.07 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.0003484/0.003923, allocations: 414.2 kB / 0.8808 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.003957, allocations: 8.031 kB / 0.8808 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.004003, allocations: 8.891 kB / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.004136, allocations: 129 kB / 0.8809 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.004146, allocations: 5.719 kB / 0.8809 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.004161, allocations: 8.375 kB / 0.8809 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.244e-05/0.004233, allocations: 38.25 kB / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.004239, allocations: 192 / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.004246, allocations: 1.969 kB / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.004252, allocations: 384 / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.681e-05/0.004269, allocations: 11.94 kB / 0.881 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.004512, allocations: 295.7 kB / 0.8813 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.745e-05/0.004549, allocations: 35.06 kB / 0.8813 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.157e-05/0.004561, allocations: 11.67 kB / 0.8813 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-06/0.004564, allocations: 0 / 0.8813 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.274e-05/0.004637, allocations: 65 kB / 0.8814 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.004637, allocations: 0 / 0.8814 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001425/0.00478, allocations: 57.67 kB / 0.8814 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.004808, allocations: 51.41 kB / 0.8815 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.304e-05/0.004881, allocations: 177.9 kB / 0.8816 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.004895, allocations: 29.7 kB / 0.8817 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.004943, allocations: 130.9 kB / 0.8818 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.456e-06/0.004951, allocations: 11.95 kB / 0.8818 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.004994, allocations: 35.36 kB / 0.8818 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.005096, allocations: 0.4884 MB / 0.8823 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.005151, allocations: 53.69 kB / 0.8824 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.787e-05/0.005209, allocations: 88.67 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.494e-05/0.005274, allocations: 80.75 kB / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.005275, allocations: 0 / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001549/0.00543, allocations: 172.9 kB / 0.8827 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.005456, allocations: 44.59 kB / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.005461, allocations: 7.938 kB / 0.8827 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.005471, allocations: 240 / 0.8827 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.218e-05/0.005483, allocations: 3.938 kB / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.005488, allocations: 0 / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.0056, allocations: 27.88 kB / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.005615, allocations: 7.984 kB / 0.8828 GB, free: 1.34 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.277e-05/0.005678, allocations: 160.6 kB / 0.8829 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-06/0.005686, allocations: 11.92 kB / 0.8829 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.763e-05/0.005704, allocations: 8 kB / 0.8829 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.005706, allocations: 0 / 0.8829 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.005709, allocations: 0 / 0.8829 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.005712, allocations: 0 / 0.8829 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.412e-05/0.005776, allocations: 120.6 kB / 0.8831 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005777, allocations: 0 / 0.8831 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-06/0.005779, allocations: 0 / 0.8831 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.005782, allocations: 3.938 kB / 0.8831 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.00579, allocations: 7.984 kB / 0.8831 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.00579, allocations: 0 / 0.8831 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.005791, allocations: 0 / 0.8831 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.799e-05/0.005859, allocations: 100.3 kB / 0.8832 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-06/0.005864, allocations: 0 / 0.8832 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.005873, allocations: 3.938 kB / 0.8832 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-06/0.00588, allocations: 0 / 0.8832 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.005905, allocations: 8.297 kB / 0.8832 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.005908, allocations: 0 / 0.8832 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.468e-05/0.005943, allocations: 131.2 kB / 0.8833 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005943, allocations: 0 / 0.8833 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001406/0.006083, allocations: 19.98 kB / 0.8833 GB, free: 0.707 MB / 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.994e-05/0.006173, allocations: 95.25 kB / 0.8834 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.006318, allocations: 148.7 kB / 0.8836 GB, free: 444 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.006319, allocations: 0 / 0.8836 GB, free: 444 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-05/0.006338, allocations: 15.69 kB / 0.8836 GB, free: 424 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.006483, allocations: 17.8 kB / 0.8836 GB, free: 408 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/0.006694, allocations: 138.1 kB / 0.8837 GB, free: 240 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.703e-05/0.006721, allocations: 55.34 kB / 0.8838 GB, free: 164 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.475e-05/0.006735, allocations: 11.88 kB / 0.8838 GB, free: 152 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.31e-05/0.006749, allocations: 12.69 kB / 0.8838 GB, free: 140 kB / 0.8386 GB Notification: Performance of SimCode: time 3.7e-07/0.006749, allocations: 0 / 0.8838 GB, free: 140 kB / 0.8386 GB Notification: Performance of Templates: time 0.002659/0.009408, allocations: 1.272 MB / 0.885 GB, free: 14.89 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.346563373692334]