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.001142/0.001142, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001226/0.001226, allocations: 173 kB / 23.49 MB, free: 1.055 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.009/1.009, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.038/2.038, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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.345e-06/2.345e-06, allocations: 0 / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.889e-05, allocations: 3.531 kB / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001828/0.001857, allocations: 0.6368 MB / 0.8788 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.003354, allocations: 1.158 MB / 0.88 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.465e-05/0.003418, allocations: 5.031 kB / 0.88 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.003528, allocations: 9.109 kB / 0.88 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.118e-05/0.003559, allocations: 9.688 kB / 0.88 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004988/0.004058, allocations: 120.8 kB / 0.8801 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.004224, allocations: 83.89 kB / 0.8802 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.926e-05/0.004324, allocations: 9 kB / 0.8802 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.624e-05/0.00442, allocations: 55.83 kB / 0.8802 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.004526, allocations: 23.95 kB / 0.8803 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.004552, allocations: 9.438 kB / 0.8803 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.745e-05/0.004619, allocations: 23.98 kB / 0.8803 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.00468, allocations: 7.984 kB / 0.8803 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.004744, allocations: 27.92 kB / 0.8803 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.004918, allocations: 75.02 kB / 0.8804 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.004922, allocations: 4 kB / 0.8804 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004923, allocations: 0 / 0.8804 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.004928, allocations: 0 / 0.8804 GB, free: 4.398 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.0004332/0.005361, allocations: 414.1 kB / 0.8808 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.005403, allocations: 8.031 kB / 0.8808 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.073e-05/0.005463, allocations: 12.89 kB / 0.8808 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.005627, allocations: 124.5 kB / 0.8809 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.005643, allocations: 8.969 kB / 0.8809 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.005662, allocations: 4.375 kB / 0.8809 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.566e-05/0.005758, allocations: 43.91 kB / 0.881 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.005765, allocations: 192 / 0.881 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.005775, allocations: 4.359 kB / 0.881 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.005782, allocations: 384 / 0.881 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.324e-05/0.005806, allocations: 12.44 kB / 0.881 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.006126, allocations: 293 kB / 0.8813 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.382e-05/0.00617, allocations: 27.06 kB / 0.8813 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.006186, allocations: 7.688 kB / 0.8813 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-06/0.00619, allocations: 1.594 kB / 0.8813 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.739e-05/0.006288, allocations: 72.98 kB / 0.8814 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.006289, allocations: 0 / 0.8814 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001705/0.006459, allocations: 53.69 kB / 0.8814 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.0065, allocations: 59.41 kB / 0.8815 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/0.0066, allocations: 169.9 kB / 0.8817 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.006619, allocations: 25.7 kB / 0.8817 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.006684, allocations: 142.8 kB / 0.8818 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.013e-05/0.006694, allocations: 3.953 kB / 0.8818 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.006755, allocations: 39.36 kB / 0.8819 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.006878, allocations: 496.1 kB / 0.8823 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-05/0.006958, allocations: 57.67 kB / 0.8824 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.57e-05/0.007044, allocations: 80.69 kB / 0.8825 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.389e-05/0.007138, allocations: 88.75 kB / 0.8825 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.00714, allocations: 0 / 0.8825 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002388/0.007379, allocations: 176.9 kB / 0.8827 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.007409, allocations: 33.7 kB / 0.8827 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.007414, allocations: 320 / 0.8827 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.007426, allocations: 0 / 0.8827 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.893e-05/0.007445, allocations: 11.88 kB / 0.8828 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.007451, allocations: 4 kB / 0.8828 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.007595, allocations: 27.86 kB / 0.8828 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.007619, allocations: 8.094 kB / 0.8828 GB, free: 1.668 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 8.99e-05/0.007709, allocations: 160.6 kB / 0.8829 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.007723, allocations: 11.92 kB / 0.883 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.198e-05/0.007745, allocations: 4 kB / 0.883 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.007748, allocations: 0 / 0.883 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.007752, allocations: 4 kB / 0.883 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.007756, allocations: 240 / 0.883 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.911e-05/0.007845, allocations: 120.6 kB / 0.8831 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007846, allocations: 0 / 0.8831 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-06/0.007854, allocations: 7.984 kB / 0.8831 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.007859, allocations: 7.938 kB / 0.8831 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.007865, allocations: 0 / 0.8831 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.007866, allocations: 0 / 0.8831 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007867, allocations: 0 / 0.8831 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.007971, allocations: 96.31 kB / 0.8832 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-06/0.007977, allocations: 0 / 0.8832 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.00799, allocations: 7.938 kB / 0.8832 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.307e-05/0.008003, allocations: 0 / 0.8832 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.008028, allocations: 0 / 0.8832 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.008033, allocations: 0 / 0.8832 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.733e-05/0.00808, allocations: 135.2 kB / 0.8833 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.00808, allocations: 4 kB / 0.8833 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002345/0.008315, allocations: 12 kB / 0.8833 GB, free: 1.039 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 0.0001191/0.008434, allocations: 103.2 kB / 0.8834 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001954/0.008629, allocations: 140.7 kB / 0.8836 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.008631, allocations: 0 / 0.8836 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.688e-05/0.008658, allocations: 19.67 kB / 0.8836 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.008863, allocations: 4 kB / 0.8836 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.009136, allocations: 142.3 kB / 0.8837 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.503e-05/0.009171, allocations: 55.36 kB / 0.8838 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.689e-05/0.009188, allocations: 0 / 0.8838 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/0.009207, allocations: 12.5 kB / 0.8838 GB, free: 496 kB / 0.8386 GB Notification: Performance of SimCode: time 7.12e-07/0.009208, allocations: 3.938 kB / 0.8838 GB, free: 492 kB / 0.8386 GB Notification: Performance of Templates: time 0.003351/0.01256, allocations: 1.179 MB / 0.885 GB, free: 15.33 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.382341882912442]