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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001613/0.001613, allocations: 112.6 kB / 16.37 MB, free: 6 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.001439/0.001439, allocations: 196 kB / 17.31 MB, free: 5.613 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.556/2.556, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 60.44 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3224, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002117/0.3246, allocations: 0.6194 MB / 1.027 GB, free: 1.418 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.3262, allocations: 1.119 MB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.3263, allocations: 4 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.3265, allocations: 3.938 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.383e-05/0.3265, allocations: 7.938 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005229/0.327, allocations: 123.3 kB / 1.029 GB, free: 156 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.3272, allocations: 99.81 kB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.3273, allocations: 4 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.109e-05/0.3274, allocations: 43.91 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.3275, allocations: 27.95 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.3276, allocations: 8 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.484e-05/0.3276, allocations: 15.98 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.3277, allocations: 15.92 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.108e-05/0.3278, allocations: 31.92 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.328, allocations: 87.72 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.328, allocations: 0 / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.941e-06/0.328, allocations: 3.984 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.328, allocations: 7.938 kB / 1.029 GB, free: 15.81 MB / 0.8106 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.0004782/0.3285, allocations: 385.1 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3285, allocations: 8.031 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.3286, allocations: 4.938 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.3288, allocations: 184.3 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3288, allocations: 384 / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.3289, allocations: 8.375 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.329, allocations: 46.25 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.329, allocations: 8.109 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.329, allocations: 7.938 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.329, allocations: 0 / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.38e-05/0.3291, allocations: 11.98 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.3294, allocations: 308.6 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.246e-05/0.3295, allocations: 18.58 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.3295, allocations: 12.92 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-06/0.3295, allocations: 4 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.3296, allocations: 63.33 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3297, allocations: 0 / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001713/0.3298, allocations: 57.69 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.3299, allocations: 51.41 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.33, allocations: 109.8 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.33, allocations: 29.7 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.3301, allocations: 96.12 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.3301, allocations: 3.906 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-05/0.3302, allocations: 29.7 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3303, allocations: 318.8 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/0.3304, allocations: 31.92 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/0.3304, allocations: 46.55 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.3306, allocations: 84.27 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3306, allocations: 320 / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002413/0.3308, allocations: 143.3 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.3309, allocations: 33.7 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3309, allocations: 4 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3309, allocations: 0 / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.521e-05/0.3309, allocations: 7.938 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3309, allocations: 3.984 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.3311, allocations: 31.97 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.3312, allocations: 4 kB / 1.031 GB, free: 13.43 MB / 0.8106 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.495e-05/0.3313, allocations: 125.8 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.3313, allocations: 3.938 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.3313, allocations: 11.89 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3313, allocations: 4 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3313, allocations: 0 / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3313, allocations: 0 / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.3315, allocations: 169.5 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3315, allocations: 0 / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.626e-06/0.3315, allocations: 3.984 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.3315, allocations: 0 / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3315, allocations: 0 / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3315, allocations: 0 / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3315, allocations: 0 / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.3316, allocations: 89.22 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.3317, allocations: 85.02 kB / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.3317, allocations: 0 / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.682e-05/0.3317, allocations: 7.984 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.3317, allocations: 0 / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.3317, allocations: 4 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.3318, allocations: 79.28 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3318, allocations: 4 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002179/0.332, allocations: 15.98 kB / 1.032 GB, free: 12.74 MB / 0.8106 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.0001597/0.3322, allocations: 115.2 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.3324, allocations: 123.2 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3324, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.858e-05/0.3325, allocations: 12 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.3327, allocations: 7.984 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.333, allocations: 126.1 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.3333, allocations: 0.6847 MB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.994e-05/0.3333, allocations: 8 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.3333, allocations: 7.438 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3334, allocations: 3.938 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of Templates: time 0.003577/0.3369, allocations: 1.054 MB / 1.034 GB, free: 10.54 MB / 0.8106 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 -s cvode -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