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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 104.2 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 189.8 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.635/2.635, allocations: 469.4 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 62.94 kB / 0.9088 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3112, allocations: 159.1 MB / 1.064 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002116/0.3134, allocations: 0.6003 MB / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3149, allocations: 1.127 MB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.315, allocations: 0 / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.741e-05/0.3151, allocations: 7.938 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.156e-05/0.3152, allocations: 3.938 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.3158, allocations: 121.2 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.3159, allocations: 103.8 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.657e-05/0.316, allocations: 15.97 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.284e-05/0.3161, allocations: 27.98 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.596e-05/0.3162, allocations: 31.84 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.3162, allocations: 8 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.051e-05/0.3163, allocations: 19.98 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.3164, allocations: 11.97 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.934e-05/0.3164, allocations: 35.86 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.3166, allocations: 83.78 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3166, allocations: 0 / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3166, allocations: 4 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3167, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8419 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.0004631/0.3171, allocations: 389.4 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3172, allocations: 8.625 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.469e-05/0.3172, allocations: 4.938 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.3174, allocations: 188.3 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3175, allocations: 384 / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.3175, allocations: 12.38 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.3176, allocations: 42.25 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3176, allocations: 4.188 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3176, allocations: 3.938 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3176, allocations: 0 / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.583e-05/0.3177, allocations: 12 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.3181, allocations: 316.6 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.911e-05/0.3181, allocations: 14.58 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.3182, allocations: 12.92 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-06/0.3182, allocations: 0 / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/0.3183, allocations: 59.39 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.3183, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0001906/0.3185, allocations: 65.53 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.3185, allocations: 51.41 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.3186, allocations: 105.8 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.3187, allocations: 37.7 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.3187, allocations: 96.05 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.3188, allocations: 3.906 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.275e-05/0.3188, allocations: 33.7 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.319, allocations: 314.8 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.319, allocations: 27.98 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.27e-05/0.3191, allocations: 50.55 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.3192, allocations: 80.22 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3192, allocations: 0 / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002428/0.3195, allocations: 151.2 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.3196, allocations: 37.7 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3196, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3196, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.731e-05/0.3196, allocations: 7.938 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.3196, allocations: 4.094 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.3199, allocations: 27.95 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.3199, allocations: 7.938 kB / 1.068 GB, free: 10.38 MB / 0.8419 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 9.273e-05/0.32, allocations: 121.8 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.32, allocations: 240 / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.32, allocations: 7.891 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.32, allocations: 7.984 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3201, allocations: 4.312 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3201, allocations: 0 / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.3202, allocations: 165.6 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3202, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-06/0.3202, allocations: 7.984 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3202, allocations: 0 / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.3202, allocations: 0 / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3202, allocations: 0 / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3202, allocations: 0 / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.3204, allocations: 92.91 kB / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/0.3204, allocations: 77.11 kB / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3204, allocations: 3.984 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.701e-05/0.3204, allocations: 4 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.3205, allocations: 0 / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-06/0.3205, allocations: 0 / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.174e-05/0.3205, allocations: 83.28 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3205, allocations: 7.938 kB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000218/0.3208, allocations: 15.98 kB / 1.069 GB, free: 9.691 MB / 0.8419 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.0001523/0.3209, allocations: 103.8 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.3211, allocations: 127.2 kB / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3211, allocations: 0 / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.254e-05/0.3212, allocations: 11.98 kB / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.3214, allocations: 8 kB / 1.069 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.3218, allocations: 163.9 kB / 1.069 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.322, allocations: 0.6768 MB / 1.07 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.322, allocations: 15.44 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.322, allocations: 0 / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of Templates: time 0.002617/0.3247, allocations: 0.9108 MB / 1.071 GB, free: 7.613 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches