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.001115/0.001115, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.01291/0.01291, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.658/1.658, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.097/3.097, allocations: 470.6 MB / 0.7441 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 10.47 kB / 0.9123 GB, free: 34.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3619, allocations: 161.4 MB / 1.07 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001034/0.363, allocations: 357.9 kB / 1.07 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.3647, allocations: 1.118 MB / 1.071 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.058e-05/0.3648, allocations: 3.938 kB / 1.071 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.8e-05/0.3649, allocations: 0 / 1.071 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.538e-05/0.3649, allocations: 7.922 kB / 1.071 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.3654, allocations: 112 kB / 1.071 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.3656, allocations: 79.83 kB / 1.072 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3657, allocations: 7.922 kB / 1.072 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.801e-05/0.3657, allocations: 27.97 kB / 1.072 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.593e-05/0.3658, allocations: 27.91 kB / 1.072 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.3659, allocations: 4 kB / 1.072 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.73e-05/0.366, allocations: 19.98 kB / 1.072 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.588e-05/0.366, allocations: 7.984 kB / 1.072 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.3661, allocations: 53.61 kB / 1.072 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.3663, allocations: 91.77 kB / 1.072 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.3663, allocations: 0 / 1.072 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3663, allocations: 3.938 kB / 1.072 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.3664, allocations: 0 / 1.072 GB, free: 9.449 MB / 0.8262 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.000499/0.3669, allocations: 361.4 kB / 1.072 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3669, allocations: 12.02 kB / 1.072 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.367, allocations: 4.938 kB / 1.072 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.3672, allocations: 176.4 kB / 1.072 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.3672, allocations: 8.312 kB / 1.072 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.3673, allocations: 8.375 kB / 1.072 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.3674, allocations: 54.23 kB / 1.072 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.3674, allocations: 192 / 1.072 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.3675, allocations: 3.938 kB / 1.072 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3675, allocations: 4 kB / 1.072 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.537e-05/0.3675, allocations: 8 kB / 1.072 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.3681, allocations: 312.6 kB / 1.073 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.035e-05/0.3682, allocations: 26.56 kB / 1.073 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.284e-05/0.3682, allocations: 8.859 kB / 1.073 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.627e-06/0.3682, allocations: 0 / 1.073 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.3683, allocations: 67.39 kB / 1.073 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3684, allocations: 0 / 1.073 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001897/0.3686, allocations: 61.62 kB / 1.073 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.3686, allocations: 55.41 kB / 1.073 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.273e-05/0.3687, allocations: 113.8 kB / 1.073 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.3688, allocations: 29.7 kB / 1.073 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/0.3688, allocations: 84.14 kB / 1.073 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.3688, allocations: 3.906 kB / 1.073 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.3689, allocations: 21.7 kB / 1.073 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3691, allocations: 322.8 kB / 1.073 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.097e-05/0.3691, allocations: 23.98 kB / 1.073 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-05/0.3692, allocations: 54.55 kB / 1.074 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.3694, allocations: 84.44 kB / 1.074 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3694, allocations: 0 / 1.074 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002556/0.3696, allocations: 147.2 kB / 1.074 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.3697, allocations: 35.27 kB / 1.074 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3697, allocations: 4 kB / 1.074 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.3697, allocations: 4.094 kB / 1.074 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.757e-05/0.3697, allocations: 0 / 1.074 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.3697, allocations: 0 / 1.074 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.37, allocations: 43.86 kB / 1.074 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.37, allocations: 8 kB / 1.074 GB, free: 7.074 MB / 0.8262 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.0001128/0.3702, allocations: 121.7 kB / 1.074 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.3702, allocations: 4 kB / 1.074 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.3702, allocations: 11.89 kB / 1.074 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.3702, allocations: 0 / 1.074 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3702, allocations: 0 / 1.074 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3702, allocations: 0 / 1.074 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.3704, allocations: 165.6 kB / 1.074 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3704, allocations: 0 / 1.074 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-06/0.3704, allocations: 4 kB / 1.074 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3704, allocations: 3.984 kB / 1.074 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3704, allocations: 4.312 kB / 1.074 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3704, allocations: 4 kB / 1.074 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3704, allocations: 0 / 1.074 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.3706, allocations: 81.06 kB / 1.074 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.3706, allocations: 84.95 kB / 1.074 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.3706, allocations: 0 / 1.074 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.663e-05/0.3706, allocations: 3.984 kB / 1.074 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.3707, allocations: 4 kB / 1.074 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.3707, allocations: 8 kB / 1.074 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.659e-05/0.3707, allocations: 79.28 kB / 1.074 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3707, allocations: 3.938 kB / 1.074 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002118/0.371, allocations: 23.98 kB / 1.074 GB, free: 6.379 MB / 0.8262 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.0001809/0.3711, allocations: 103.2 kB / 1.074 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.3714, allocations: 119.3 kB / 1.075 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3714, allocations: 0 / 1.075 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.602e-05/0.3714, allocations: 20.12 kB / 1.075 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.3717, allocations: 7.984 kB / 1.075 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.372, allocations: 138.6 kB / 1.075 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.3724, allocations: 0.6809 MB / 1.075 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.132e-05/0.3724, allocations: 4 kB / 1.075 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.3724, allocations: 11.44 kB / 1.075 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.3724, allocations: 0 / 1.075 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of Templates: time 0.004156/0.3766, allocations: 0.997 MB / 1.076 GB, free: 4.234 MB / 0.8262 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/jenkins/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