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.001044/0.001044, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.00123/0.00123, allocations: 165 kB / 24.17 MB, free: 328 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 1.01/1.01, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.902/1.902, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.843e-06/1.843e-06, allocations: 0 / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.338e-05, allocations: 7.016 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00115/0.001174, allocations: 0.6455 MB / 0.7606 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.002219, allocations: 1.17 MB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.002259, allocations: 0 / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.333e-05/0.002352, allocations: 3.938 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.567e-05/0.002378, allocations: 7.062 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.002717, allocations: 121.5 kB / 0.7619 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.002839, allocations: 91.27 kB / 0.762 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.275e-05/0.002902, allocations: 11.92 kB / 0.762 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.571e-05/0.002968, allocations: 47.41 kB / 0.7621 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.012e-05/0.003048, allocations: 28.94 kB / 0.7621 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.003067, allocations: 8 kB / 0.7621 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.789e-05/0.003115, allocations: 15.98 kB / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.003162, allocations: 14.81 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.003199, allocations: 24.86 kB / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.003314, allocations: 78.23 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.003316, allocations: 0.9688 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003316, allocations: 0 / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.00332, allocations: 1.094 kB / 0.7622 GB, free: 4.418 MB / 0.7136 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.0003035/0.003623, allocations: 283.4 kB / 0.7625 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.00366, allocations: 8.031 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.00369, allocations: 13.86 kB / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.00381, allocations: 109.8 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.00382, allocations: 5.719 kB / 0.7626 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.003836, allocations: 8.375 kB / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.883e-05/0.003895, allocations: 40.03 kB / 0.7627 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.003902, allocations: 192 / 0.7627 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.003909, allocations: 4.312 kB / 0.7627 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.003914, allocations: 384 / 0.7627 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.027e-05/0.003924, allocations: 9.031 kB / 0.7627 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.004095, allocations: 169 kB / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.897e-05/0.004134, allocations: 30.56 kB / 0.7629 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-06/0.004143, allocations: 6.922 kB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-06/0.004147, allocations: 0 / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.21e-05/0.004219, allocations: 55.45 kB / 0.7629 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 6.92e-07/0.004219, allocations: 0 / 0.7629 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001004/0.00432, allocations: 53.55 kB / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.004348, allocations: 56.16 kB / 0.763 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.641e-05/0.004404, allocations: 114.9 kB / 0.7631 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.004419, allocations: 34.39 kB / 0.7632 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.004451, allocations: 88.09 kB / 0.7633 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.674e-06/0.004459, allocations: 8.562 kB / 0.7633 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.004496, allocations: 35.88 kB / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.159e-05/0.004568, allocations: 314.8 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.984e-05/0.004608, allocations: 45.69 kB / 0.7636 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.747e-05/0.004655, allocations: 76.31 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.231e-05/0.004707, allocations: 72.19 kB / 0.7638 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.004709, allocations: 1.594 kB / 0.7638 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001006/0.004809, allocations: 141 kB / 0.7639 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.004838, allocations: 45.62 kB / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.004843, allocations: 1.25 kB / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.004854, allocations: 0 / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-05/0.004865, allocations: 4 kB / 0.764 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.004868, allocations: 2.688 kB / 0.764 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.342e-05/0.004961, allocations: 19.92 kB / 0.764 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.004974, allocations: 7.984 kB / 0.764 GB, free: 2.391 MB / 0.7136 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 5.685e-05/0.00503, allocations: 116.7 kB / 0.7641 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-06/0.005036, allocations: 4 kB / 0.7641 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.005055, allocations: 10.69 kB / 0.7641 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.005058, allocations: 3.984 kB / 0.7641 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.005059, allocations: 3.938 kB / 0.7641 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.005062, allocations: 0 / 0.7641 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.265e-05/0.005114, allocations: 69.89 kB / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.005115, allocations: 0 / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.055e-06/0.005118, allocations: 0 / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.00512, allocations: 0 / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.005124, allocations: 4.953 kB / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.005125, allocations: 0 / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.005127, allocations: 7.938 kB / 0.7642 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.721e-05/0.005175, allocations: 62.06 kB / 0.7643 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-06/0.00518, allocations: 0 / 0.7643 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-06/0.005187, allocations: 4.938 kB / 0.7643 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-06/0.005194, allocations: 0 / 0.7643 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.862e-05/0.005213, allocations: 11.92 kB / 0.7643 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.005215, allocations: 0.5 kB / 0.7643 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.144e-05/0.005226, allocations: 20.3 kB / 0.7643 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005226, allocations: 3.938 kB / 0.7643 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001092/0.005335, allocations: 16 kB / 0.7643 GB, free: 2.012 MB / 0.7136 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.468e-05/0.00542, allocations: 88.39 kB / 0.7644 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.005534, allocations: 133.9 kB / 0.7645 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.005536, allocations: 0 / 0.7645 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.447e-05/0.005551, allocations: 12.8 kB / 0.7646 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.42e-05/0.005635, allocations: 11.69 kB / 0.7646 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001851/0.00582, allocations: 132.8 kB / 0.7647 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.906e-05/0.005849, allocations: 59.34 kB / 0.7647 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.21e-05/0.005861, allocations: 0 / 0.7647 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.005921, allocations: 63.36 kB / 0.7648 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of SimCode: time 4.4e-07/0.005922, allocations: 1.562 kB / 0.7648 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of Templates: time 0.002477/0.008399, allocations: 1.276 MB / 0.7661 GB, free: 248 kB / 0.7136 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.0453842850402]