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.001391/0.001391, allocations: 92.7 kB / 19.44 MB, free: 324 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.001582/0.001582, allocations: 161.7 kB / 22.75 MB, free: 1.656 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.507/1.507, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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 3.294/3.294, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] 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.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.915e-06/2.915e-06, allocations: 0 / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.802e-05/4.094e-05, allocations: 7.094 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002677/0.002718, allocations: 0.6309 MB / 0.8782 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002565/0.005282, allocations: 1.136 MB / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.499e-05/0.005337, allocations: 0 / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.005471, allocations: 3.938 kB / 0.8793 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.792e-05/0.005499, allocations: 0 / 0.8793 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006649/0.006164, allocations: 135 kB / 0.8794 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000221/0.006385, allocations: 83.83 kB / 0.8795 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.006492, allocations: 7.984 kB / 0.8795 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.00663, allocations: 51.95 kB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.00676, allocations: 27.89 kB / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.006796, allocations: 8 kB / 0.8796 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.673e-05/0.006883, allocations: 16 kB / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.826e-05/0.006951, allocations: 12.94 kB / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.87e-05/0.007039, allocations: 27.92 kB / 0.8797 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.007312, allocations: 107.7 kB / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.007315, allocations: 0.75 kB / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.31e-07/0.007316, allocations: 0 / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.00732, allocations: 0.5312 kB / 0.8798 GB, free: 4.266 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.0006731/0.007993, allocations: 307.4 kB / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.008048, allocations: 12.03 kB / 0.8801 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.54e-05/0.008134, allocations: 8.891 kB / 0.8801 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.008421, allocations: 121.7 kB / 0.8802 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.008446, allocations: 8.359 kB / 0.8802 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.008479, allocations: 12.31 kB / 0.8802 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.008636, allocations: 46.19 kB / 0.8803 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.008647, allocations: 192 / 0.8803 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.008658, allocations: 384 / 0.8803 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.008666, allocations: 4.969 kB / 0.8803 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.868e-05/0.008715, allocations: 11.94 kB / 0.8803 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.009229, allocations: 233.1 kB / 0.8805 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.661e-05/0.009315, allocations: 27.48 kB / 0.8805 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.009342, allocations: 4.859 kB / 0.8805 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.009353, allocations: 0.75 kB / 0.8805 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.009543, allocations: 71.33 kB / 0.8806 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.009544, allocations: 1.531 kB / 0.8806 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0003097/0.009854, allocations: 73.78 kB / 0.8807 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.009918, allocations: 51.41 kB / 0.8807 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.01007, allocations: 109.8 kB / 0.8808 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.323e-05/0.01012, allocations: 37.7 kB / 0.8809 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.01023, allocations: 88.12 kB / 0.881 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.01025, allocations: 3.953 kB / 0.881 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.01036, allocations: 29.7 kB / 0.881 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002487/0.01061, allocations: 318.8 kB / 0.8813 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.01077, allocations: 61.69 kB / 0.8813 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.01095, allocations: 76.25 kB / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.01115, allocations: 76.22 kB / 0.8815 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01116, allocations: 0 / 0.8815 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004924/0.01165, allocations: 192.9 kB / 0.8817 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.819e-05/0.01171, allocations: 33.7 kB / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.01172, allocations: 3.984 kB / 0.8817 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.01174, allocations: 0 / 0.8817 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.225e-05/0.01176, allocations: 4.312 kB / 0.8817 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.01177, allocations: 4 kB / 0.8817 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.01209, allocations: 31.92 kB / 0.8818 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.01211, allocations: 4 kB / 0.8818 GB, free: 2.008 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 0.0001525/0.01227, allocations: 121.9 kB / 0.8819 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.01229, allocations: 11.88 kB / 0.8819 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.01232, allocations: 4 kB / 0.8819 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01232, allocations: 0 / 0.8819 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01232, allocations: 7.938 kB / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01233, allocations: 0 / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.01249, allocations: 105.3 kB / 0.882 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01249, allocations: 0 / 0.882 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-05/0.0125, allocations: 4 kB / 0.882 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.01251, allocations: 3.938 kB / 0.882 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.01252, allocations: 4 kB / 0.882 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01252, allocations: 0 / 0.882 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01252, allocations: 0 / 0.882 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.01271, allocations: 81.11 kB / 0.8821 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.01273, allocations: 7.953 kB / 0.8821 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.01275, allocations: 3.938 kB / 0.8821 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.234e-05/0.01277, allocations: 0 / 0.8821 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.01281, allocations: 3.984 kB / 0.8821 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.01282, allocations: 11.94 kB / 0.8821 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.628e-05/0.0129, allocations: 79.28 kB / 0.8822 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.0129, allocations: 0 / 0.8822 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004016/0.0133, allocations: 23.94 kB / 0.8822 GB, free: 1.484 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.0002128/0.01351, allocations: 103.2 kB / 0.8823 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003391/0.01385, allocations: 133.1 kB / 0.8824 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01385, allocations: 0 / 0.8824 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.638e-05/0.01391, allocations: 15.92 kB / 0.8825 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.01422, allocations: 9.875 kB / 0.8825 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.01463, allocations: 120.5 kB / 0.8826 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.01474, allocations: 75.52 kB / 0.8826 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.117e-05/0.01476, allocations: 0 / 0.8826 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.0148, allocations: 16.5 kB / 0.8827 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of SimCode: time 3.9e-07/0.0148, allocations: 0 / 0.8827 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of Templates: time 0.0057/0.0205, allocations: 1.175 MB / 0.8838 GB, free: 15.8 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=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.285956745967269]