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.001774/0.001774, allocations: 81.23 kB / 19.18 MB, free: 2.52 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.002433/0.002433, allocations: 168.9 kB / 22.46 MB, free: 5.371 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.492/1.492, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.871/2.871, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.1.|booRep.y.2.|booRep.y.3.",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.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.955e-06/2.955e-06, allocations: 3.938 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.591e-05/3.886e-05, allocations: 5.516 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002379/0.002418, allocations: 0.6181 MB / 0.982 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002104/0.004521, allocations: 1.135 MB / 0.9831 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.004578, allocations: 0 / 0.9831 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.004692, allocations: 3.938 kB / 0.9831 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.156e-05/0.004723, allocations: 3.938 kB / 0.9832 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006565/0.00538, allocations: 127 kB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.005586, allocations: 87.88 kB / 0.9834 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.005688, allocations: 11.98 kB / 0.9834 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.005813, allocations: 47.91 kB / 0.9834 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.005949, allocations: 35.88 kB / 0.9834 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.005984, allocations: 11.94 kB / 0.9835 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.006072, allocations: 16 kB / 0.9835 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.558e-05/0.006137, allocations: 11.92 kB / 0.9835 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.195e-05/0.006219, allocations: 23.98 kB / 0.9835 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.006476, allocations: 111.7 kB / 0.9836 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.00648, allocations: 0 / 0.9836 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.222e-06/0.006482, allocations: 3.938 kB / 0.9836 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.006486, allocations: 0 / 0.9836 GB, free: 9.707 MB / 0.9356 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.0005722/0.007059, allocations: 311.9 kB / 0.9839 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.007108, allocations: 12.03 kB / 0.9839 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.534e-05/0.007174, allocations: 4.938 kB / 0.9839 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.007395, allocations: 117.7 kB / 0.984 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.007414, allocations: 8.375 kB / 0.9841 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.007445, allocations: 4.375 kB / 0.9841 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.007586, allocations: 54.23 kB / 0.9841 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.007595, allocations: 192 / 0.9841 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.007605, allocations: 384 / 0.9841 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.00761, allocations: 384 / 0.9841 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.798e-05/0.007658, allocations: 19.88 kB / 0.9841 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.008076, allocations: 232.5 kB / 0.9843 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.831e-05/0.008145, allocations: 30.56 kB / 0.9844 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.008167, allocations: 4.859 kB / 0.9844 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.008177, allocations: 4.062 kB / 0.9844 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.008362, allocations: 63.27 kB / 0.9844 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.008363, allocations: 0 / 0.9844 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002297/0.008593, allocations: 65.64 kB / 0.9845 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.008661, allocations: 55.39 kB / 0.9846 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.008777, allocations: 101.9 kB / 0.9847 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.008817, allocations: 33.69 kB / 0.9847 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.00891, allocations: 104.1 kB / 0.9848 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.008922, allocations: 0 / 0.9848 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.009027, allocations: 29.7 kB / 0.9848 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.009214, allocations: 318.8 kB / 0.9851 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.009367, allocations: 65.67 kB / 0.9852 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.009528, allocations: 72.27 kB / 0.9853 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.009703, allocations: 80.27 kB / 0.9853 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009705, allocations: 0 / 0.9853 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004213/0.01013, allocations: 192.8 kB / 0.9855 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.01017, allocations: 33.7 kB / 0.9855 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01018, allocations: 3.938 kB / 0.9856 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.01019, allocations: 0 / 0.9856 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-05/0.01021, allocations: 7.938 kB / 0.9856 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.01022, allocations: 3.984 kB / 0.9856 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.01049, allocations: 23.97 kB / 0.9856 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.01052, allocations: 8 kB / 0.9856 GB, free: 7.445 MB / 0.9356 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.0001253/0.01064, allocations: 117.9 kB / 0.9857 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.01066, allocations: 7.938 kB / 0.9857 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.01069, allocations: 11.98 kB / 0.9857 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01069, allocations: 0 / 0.9857 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.0107, allocations: 320 / 0.9857 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.0107, allocations: 4 kB / 0.9857 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.01082, allocations: 105.3 kB / 0.9858 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.01083, allocations: 4 kB / 0.9858 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-06/0.01084, allocations: 4 kB / 0.9858 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.01084, allocations: 3.938 kB / 0.9858 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.01085, allocations: 0 / 0.9858 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01085, allocations: 4 kB / 0.9858 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.01085, allocations: 0 / 0.9858 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.01101, allocations: 85.02 kB / 0.9859 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.01102, allocations: 4.266 kB / 0.9859 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.01103, allocations: 3.938 kB / 0.9859 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.224e-05/0.01106, allocations: 4 kB / 0.9859 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.01108, allocations: 0 / 0.9859 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.01109, allocations: 3.984 kB / 0.9859 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.652e-05/0.01116, allocations: 91.27 kB / 0.986 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.01116, allocations: 0 / 0.986 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003469/0.0115, allocations: 12 kB / 0.986 GB, free: 6.93 MB / 0.9356 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.0001797/0.01168, allocations: 103.2 kB / 0.9861 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003164/0.012, allocations: 145 kB / 0.9863 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.012, allocations: 0 / 0.9863 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.375e-05/0.01203, allocations: 4 kB / 0.9863 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.01233, allocations: 11.98 kB / 0.9863 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.01268, allocations: 124.8 kB / 0.9864 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.68e-05/0.01276, allocations: 67.53 kB / 0.9865 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.901e-05/0.01278, allocations: 8.188 kB / 0.9865 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.01281, allocations: 16.48 kB / 0.9865 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of SimCode: time 5.31e-07/0.01281, allocations: 0 / 0.9865 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of Templates: time 0.005372/0.01818, allocations: 1.145 MB / 0.9876 GB, free: 5.262 MB / 0.9356 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.325998570770025]