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.0008308/0.0008308, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001004/0.001004, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8609/0.8609, allocations: 177.1 MB / 203.5 MB, free: 5.727 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 1.76/1.76, allocations: 389 MB / 0.6338 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.1.|booRep.y.2.|booRep.y.3.",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.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 3.938 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.702e-05, allocations: 2.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001235/0.001262, allocations: 0.618 MB / 1.002 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.002312, allocations: 1.136 MB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.002359, allocations: 0 / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.816e-05/0.002447, allocations: 7.875 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.97e-05/0.002466, allocations: 0 / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.002889, allocations: 128.6 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.003028, allocations: 95.81 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.337e-05/0.003111, allocations: 4 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.086e-05/0.003182, allocations: 51.89 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.458e-05/0.003277, allocations: 27.95 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.003297, allocations: 8 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.85e-05/0.003355, allocations: 15.98 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.003412, allocations: 11.98 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.003464, allocations: 31.91 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.003625, allocations: 103.7 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003627, allocations: 0 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.253e-06/0.003629, allocations: 0 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.003633, allocations: 4 kB / 1.003 GB, free: 10.75 MB / 0.9636 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.0003619/0.003995, allocations: 304 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.004031, allocations: 12.73 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.004074, allocations: 4.938 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.00421, allocations: 133.6 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.00422, allocations: 384 / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.004237, allocations: 12.38 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.849e-05/0.004326, allocations: 42.25 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.004333, allocations: 192 / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.004342, allocations: 4.375 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.004347, allocations: 4.359 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.544e-05/0.004373, allocations: 19.88 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.004629, allocations: 228.6 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.051e-05/0.004669, allocations: 18.58 kB / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.28e-05/0.004682, allocations: 8.922 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.004689, allocations: 0 / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.004811, allocations: 79.22 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.004812, allocations: 0 / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001645/0.004976, allocations: 57.69 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.005009, allocations: 51.41 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.415e-05/0.005073, allocations: 117.8 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.005088, allocations: 25.7 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.005131, allocations: 96.06 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/0.005139, allocations: 7.953 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.005183, allocations: 29.7 kB / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.00526, allocations: 318.8 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.942e-05/0.00533, allocations: 61.67 kB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.00559, allocations: 80.2 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.305e-05/0.005663, allocations: 84.48 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005665, allocations: 4 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001747/0.00584, allocations: 176.9 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.005871, allocations: 37.7 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.005875, allocations: 3.938 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.005887, allocations: 0 / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.979e-05/0.005906, allocations: 4 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.005911, allocations: 0 / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.006045, allocations: 23.97 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.00606, allocations: 8.078 kB / 1.005 GB, free: 8.496 MB / 0.9636 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.554e-05/0.006125, allocations: 121.8 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.954e-06/0.006133, allocations: 7.891 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.143e-05/0.006155, allocations: 7.938 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.006157, allocations: 4 kB / 1.005 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.006161, allocations: 3.984 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.006164, allocations: 0 / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.564e-05/0.00623, allocations: 105.6 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.006232, allocations: 8 kB / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-06/0.006236, allocations: 0 / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.006238, allocations: 3.938 kB / 1.005 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.006244, allocations: 4 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.006245, allocations: 0 / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006246, allocations: 0 / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.585e-05/0.006322, allocations: 81.06 kB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-06/0.006329, allocations: 7.953 kB / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.006342, allocations: 7.922 kB / 1.005 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-06/0.006351, allocations: 0 / 1.005 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.006374, allocations: 4 kB / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.00638, allocations: 4 kB / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.032e-05/0.00641, allocations: 83.27 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.00641, allocations: 4 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001512/0.006562, allocations: 23.94 kB / 1.006 GB, free: 7.957 MB / 0.9636 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.0001118/0.006673, allocations: 95.25 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001692/0.006843, allocations: 145 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.006844, allocations: 0 / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.11e-05/0.006865, allocations: 8 kB / 1.006 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.007031, allocations: 15.97 kB / 1.006 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.007273, allocations: 158.7 kB / 1.006 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.248e-05/0.007315, allocations: 63.34 kB / 1.006 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.59e-05/0.007331, allocations: 12.44 kB / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of SimCode: time 5.11e-07/0.007332, allocations: 0 / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of Templates: time 0.001811/0.009143, allocations: 0.9341 MB / 1.007 GB, free: 6.465 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.701045915484428]