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.001382/0.001382, allocations: 79.67 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001602/0.001602, allocations: 164.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.49/1.49, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.956/2.956, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] 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.625e-06/2.625e-06, allocations: 0 / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.951e-05, allocations: 6.281 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001991/0.00202, allocations: 0.6277 MB / 1.001 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.003669, allocations: 1.127 MB / 1.002 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.003727, allocations: 4 kB / 1.002 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.316e-05/0.003821, allocations: 0 / 1.002 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.562e-05/0.003856, allocations: 19.84 kB / 1.002 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.004395, allocations: 124 kB / 1.002 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002/0.004595, allocations: 91.81 kB / 1.002 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.231e-05/0.004677, allocations: 4 kB / 1.002 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.004779, allocations: 47.95 kB / 1.002 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.004887, allocations: 27.95 kB / 1.002 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.004929, allocations: 8 kB / 1.002 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.707e-05/0.005006, allocations: 20 kB / 1.002 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.005068, allocations: 19.91 kB / 1.002 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.671e-05/0.005134, allocations: 19.98 kB / 1.002 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.005341, allocations: 107.7 kB / 1.002 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.005346, allocations: 3.984 kB / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.42e-07/0.005347, allocations: 0 / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.005356, allocations: 4 kB / 1.002 GB, free: 5.012 MB / 0.9512 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.0004938/0.00585, allocations: 300 kB / 1.003 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.005886, allocations: 8.031 kB / 1.003 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.005938, allocations: 4.938 kB / 1.003 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.006147, allocations: 137.6 kB / 1.003 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.006161, allocations: 8.359 kB / 1.003 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.006188, allocations: 4.375 kB / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.006309, allocations: 42.25 kB / 1.003 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.006319, allocations: 192 / 1.003 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.006327, allocations: 384 / 1.003 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.006334, allocations: 4.375 kB / 1.003 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.632e-05/0.006371, allocations: 11.94 kB / 1.003 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.006731, allocations: 236.5 kB / 1.003 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.391e-05/0.006785, allocations: 18.58 kB / 1.003 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.006806, allocations: 16.91 kB / 1.003 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.006815, allocations: 0 / 1.003 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.006954, allocations: 67.23 kB / 1.003 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.006956, allocations: 0 / 1.003 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002086/0.007164, allocations: 65.61 kB / 1.003 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.007211, allocations: 55.41 kB / 1.003 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.983e-05/0.007311, allocations: 113.8 kB / 1.003 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.00734, allocations: 29.64 kB / 1.003 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.007403, allocations: 92.09 kB / 1.003 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.007416, allocations: 7.953 kB / 1.003 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.969e-05/0.007486, allocations: 33.7 kB / 1.004 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.007625, allocations: 318.8 kB / 1.004 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.007728, allocations: 57.69 kB / 1.004 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.007839, allocations: 80.25 kB / 1.004 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.007962, allocations: 80.22 kB / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007964, allocations: 0 / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002799/0.008244, allocations: 176.9 kB / 1.004 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/0.008288, allocations: 39.89 kB / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.008295, allocations: 3.984 kB / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.008312, allocations: 8.094 kB / 1.004 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.622e-05/0.008328, allocations: 0 / 1.004 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.008333, allocations: 0 / 1.004 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.008538, allocations: 23.97 kB / 1.004 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.00856, allocations: 11.94 kB / 1.004 GB, free: 2.762 MB / 0.9512 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.0001206/0.00868, allocations: 122.3 kB / 1.004 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.008695, allocations: 8.125 kB / 1.004 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.008721, allocations: 8 kB / 1.004 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.008725, allocations: 7.984 kB / 1.004 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.008729, allocations: 0 / 1.004 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.008731, allocations: 0 / 1.004 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.008843, allocations: 113.3 kB / 1.005 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.008844, allocations: 0 / 1.005 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-06/0.00885, allocations: 0 / 1.005 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.008855, allocations: 3.938 kB / 1.005 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.008861, allocations: 0 / 1.005 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.008862, allocations: 0 / 1.005 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.008863, allocations: 4 kB / 1.005 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.008976, allocations: 81.05 kB / 1.005 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.008994, allocations: 11.95 kB / 1.005 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.00901, allocations: 3.938 kB / 1.005 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.399e-05/0.009024, allocations: 320 / 1.005 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.009052, allocations: 4 kB / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.00906, allocations: 11.98 kB / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.496e-05/0.009105, allocations: 83.22 kB / 1.005 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.009105, allocations: 3.938 kB / 1.005 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002184/0.009324, allocations: 20 kB / 1.005 GB, free: 2.223 MB / 0.9512 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.0001539/0.009477, allocations: 99.23 kB / 1.005 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.009703, allocations: 141 kB / 1.005 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.009705, allocations: 0 / 1.005 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.268e-05/0.009738, allocations: 12 kB / 1.005 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.009931, allocations: 7.984 kB / 1.005 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.01024, allocations: 124.9 kB / 1.005 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.752e-05/0.01031, allocations: 71.33 kB / 1.005 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.592e-05/0.01033, allocations: 0 / 1.005 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.01035, allocations: 12.69 kB / 1.005 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.01035, allocations: 4 kB / 1.005 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of Templates: time 0.003922/0.01427, allocations: 1.159 MB / 1.006 GB, free: 0.5586 MB / 0.9512 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: 8.35696866735816]