Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001564/0.001564, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001539/0.001539, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.456/1.456, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437.1 MB / 0.7111 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 71.67 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.299, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001921/0.301, allocations: 0.6166 MB / 1.019 GB, free: 9.973 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.3025, allocations: 1.11 MB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.3026, allocations: 0 / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.231e-05/0.3027, allocations: 3.938 kB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 1.844e-05/0.3027, allocations: 7.875 kB / 1.02 GB, free: 8.836 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.3032, allocations: 126.8 kB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.3034, allocations: 95.77 kB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.718e-05/0.3035, allocations: 15.97 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.521e-05/0.3035, allocations: 27.98 kB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.18e-05/0.3036, allocations: 27.91 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.3036, allocations: 8 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.378e-05/0.3037, allocations: 27.98 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.3038, allocations: 15.97 kB / 1.02 GB, free: 8.5 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.3039, allocations: 27.86 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.3041, allocations: 83.78 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3041, allocations: 4 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3041, allocations: 0 / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3041, allocations: 0 / 1.02 GB, free: 8.387 MB / 0.795 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.0005328/0.3046, allocations: 391.2 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3047, allocations: 8.922 kB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.3047, allocations: 8.875 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.3049, allocations: 176.4 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.305, allocations: 12.36 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.305, allocations: 4.375 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.3051, allocations: 42.25 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3051, allocations: 192 / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3051, allocations: 3.938 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.3051, allocations: 4 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.035e-05/0.3052, allocations: 12 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.3056, allocations: 316.6 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.379e-05/0.3056, allocations: 18.58 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.3057, allocations: 4.859 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.3057, allocations: 4 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.3058, allocations: 67.39 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.3058, allocations: 0 / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.00018/0.306, allocations: 57.69 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.3061, allocations: 55.41 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.809e-05/0.3062, allocations: 113.8 kB / 1.021 GB, free: 6.914 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.3062, allocations: 25.7 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.927e-05/0.3063, allocations: 96.12 kB / 1.021 GB, free: 6.785 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.3063, allocations: 11.89 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/0.3064, allocations: 29.7 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3065, allocations: 318.8 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.097e-05/0.3066, allocations: 23.98 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.795e-05/0.3067, allocations: 58.48 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.3068, allocations: 84.22 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3068, allocations: 3.938 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002513/0.3071, allocations: 139.3 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.3071, allocations: 37.7 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3072, allocations: 0 / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3072, allocations: 4 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.73e-05/0.3072, allocations: 3.938 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.3072, allocations: 0 / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.3074, allocations: 35.95 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.3075, allocations: 8 kB / 1.022 GB, free: 5.984 MB / 0.795 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.000107/0.3076, allocations: 117.8 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-06/0.3076, allocations: 0 / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.3076, allocations: 12.12 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3076, allocations: 0 / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3076, allocations: 0 / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3076, allocations: 7.984 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.3078, allocations: 165.6 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3078, allocations: 0 / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-06/0.3078, allocations: 0 / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3078, allocations: 3.984 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3078, allocations: 4 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3078, allocations: 0 / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3078, allocations: 0 / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.308, allocations: 81.31 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.308, allocations: 85.02 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.308, allocations: 4 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.692e-05/0.3081, allocations: 7.984 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.3081, allocations: 0 / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.3081, allocations: 4 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.678e-05/0.3082, allocations: 83.28 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3082, allocations: 0 / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002066/0.3084, allocations: 12 kB / 1.023 GB, free: 5.309 MB / 0.795 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.0001655/0.3086, allocations: 111.2 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.3088, allocations: 127.2 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3088, allocations: 0 / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.53e-05/0.3089, allocations: 15.94 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.3091, allocations: 13.42 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.3094, allocations: 156 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.3098, allocations: 0.6846 MB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.625e-05/0.3098, allocations: 11.38 kB / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.3098, allocations: 0 / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of Templates: time 0.002698/0.3125, allocations: 0.914 MB / 1.025 GB, free: 3.211 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches