Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.00148/0.00148, allocations: 104.5 kB / 15.98 MB, free: 6.355 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.001438/0.001438, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.35/1.35, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.624/2.624, allocations: 469.8 MB / 0.7427 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 70.62 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2882, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001971/0.2902, allocations: 0.6846 MB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.2917, allocations: 1.112 MB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.555e-05/0.2917, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.958e-05/0.2918, allocations: 4 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.237e-05/0.2919, allocations: 7.938 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.2923, allocations: 107.3 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.2925, allocations: 107.7 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.875e-05/0.2925, allocations: 11.98 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.2926, allocations: 27.98 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.733e-05/0.2927, allocations: 31.89 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.2927, allocations: 8 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.166e-05/0.2928, allocations: 19.98 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.2928, allocations: 11.98 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.2929, allocations: 35.86 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.293, allocations: 67.86 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.293, allocations: 3.938 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.22e-07/0.293, allocations: 4 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2931, allocations: 0 / 1.066 GB, free: 12.86 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.0004772/0.2935, allocations: 377.4 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2936, allocations: 12.03 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.2936, allocations: 4.938 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.2938, allocations: 180.3 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.2938, allocations: 4.375 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.2939, allocations: 8.375 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.294, allocations: 46.25 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.294, allocations: 4.188 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.294, allocations: 3.938 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.294, allocations: 3.984 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.254e-05/0.2941, allocations: 12 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.2944, allocations: 308.6 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.689e-05/0.2945, allocations: 22.58 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.2945, allocations: 16.91 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.2945, allocations: 0 / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.2947, allocations: 51.41 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 3.166e-06/0.2947, allocations: 0 / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0001901/0.2949, allocations: 73.52 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.2949, allocations: 51.41 kB / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/0.295, allocations: 105.8 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.2951, allocations: 37.7 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.2951, allocations: 84.08 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.2951, allocations: 11.89 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.2952, allocations: 29.7 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2953, allocations: 322.8 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.339e-05/0.2954, allocations: 27.98 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.904e-05/0.2955, allocations: 46.56 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.2956, allocations: 84.2 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2956, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002486/0.2959, allocations: 147.2 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.2959, allocations: 37.69 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2959, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.2959, allocations: 320 / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.95e-05/0.296, allocations: 8 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/0.296, allocations: 4.094 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.2962, allocations: 31.91 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.2962, allocations: 7.984 kB / 1.068 GB, free: 10.46 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.703e-05/0.2963, allocations: 117.8 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.2963, allocations: 4 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.2964, allocations: 7.844 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2964, allocations: 240 / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.2964, allocations: 4 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2964, allocations: 3.984 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.2965, allocations: 165.6 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2965, allocations: 0 / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-06/0.2965, allocations: 4 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.2965, allocations: 0 / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.2966, allocations: 4 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2966, allocations: 0 / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2966, allocations: 0 / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.2967, allocations: 92.89 kB / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.2967, allocations: 81.11 kB / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.2967, allocations: 0 / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.298e-05/0.2968, allocations: 0 / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.2968, allocations: 4 kB / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.2968, allocations: 0 / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.2969, allocations: 87.27 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2969, allocations: 3.938 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002008/0.2971, allocations: 16 kB / 1.069 GB, free: 9.781 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.0001405/0.2972, allocations: 111.2 kB / 1.069 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.2974, allocations: 127.2 kB / 1.069 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2974, allocations: 0 / 1.069 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.058e-05/0.2975, allocations: 8 kB / 1.069 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.2977, allocations: 16.67 kB / 1.069 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.298, allocations: 159.9 kB / 1.069 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.2983, allocations: 0.6807 MB / 1.07 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/0.2983, allocations: 11.44 kB / 1.07 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.2983, allocations: 0 / 1.07 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of Templates: time 0.002541/0.3008, allocations: 0.9138 MB / 1.071 GB, free: 7.695 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches