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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001341/0.001341, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001341/0.001341, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.345/1.345, 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 10.1.0-maint.10.0.x/package.mo): time 2.489/2.489, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.56 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3205, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001958/0.3225, allocations: 0.6241 MB / 1.019 GB, free: 9.199 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.3241, allocations: 1.114 MB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.3242, allocations: 0 / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.062e-05/0.3243, allocations: 3.938 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.919e-05/0.3243, allocations: 11.92 kB / 1.021 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.3248, allocations: 126 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.325, allocations: 87.83 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.171e-05/0.3251, allocations: 15.98 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.3252, allocations: 31.97 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.614e-05/0.3253, allocations: 31.89 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.3253, allocations: 8 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.214e-05/0.3254, allocations: 23.98 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.3254, allocations: 7.984 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.019e-05/0.3255, allocations: 39.84 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.3257, allocations: 91.72 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3257, allocations: 0 / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3257, allocations: 0 / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.3257, allocations: 0 / 1.021 GB, free: 7.602 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.0004673/0.3262, allocations: 385 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3262, allocations: 12.92 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.3262, allocations: 4.938 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.3264, allocations: 176.4 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.3264, allocations: 4.375 kB / 1.022 GB, free: 6.938 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.3265, allocations: 8.375 kB / 1.022 GB, free: 6.93 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.776e-05/0.3266, allocations: 46.25 kB / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.3266, allocations: 192 / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.3266, allocations: 7.938 kB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.3266, allocations: 0 / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.256e-05/0.3266, allocations: 19.92 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.327, allocations: 300.7 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.204e-05/0.327, allocations: 22.58 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.3271, allocations: 8.922 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.3271, allocations: 11.86 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.3272, allocations: 55.41 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.3272, allocations: 0 / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0001568/0.3274, allocations: 69.84 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.3274, allocations: 51.41 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.694e-05/0.3275, allocations: 109.8 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3275, allocations: 33.64 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.3276, allocations: 88.12 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.3276, allocations: 15.84 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.3277, allocations: 29.7 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3278, allocations: 322.8 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.733e-05/0.3279, allocations: 27.98 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.022e-05/0.3279, allocations: 46.56 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.3281, allocations: 84.2 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3281, allocations: 0 / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002354/0.3283, allocations: 143.3 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.3283, allocations: 41.69 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3284, allocations: 0 / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.3284, allocations: 0 / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.445e-05/0.3284, allocations: 320 / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3284, allocations: 7.984 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.3286, allocations: 35.97 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.3286, allocations: 4 kB / 1.023 GB, free: 5.203 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 9.862e-05/0.3287, allocations: 121.8 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.3287, allocations: 4 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.926e-05/0.3288, allocations: 3.906 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3288, allocations: 0 / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3288, allocations: 0 / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3288, allocations: 0 / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.3289, allocations: 165.6 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.329, allocations: 4 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-06/0.329, allocations: 4 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.329, allocations: 0 / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.329, allocations: 4 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.329, allocations: 0 / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.329, allocations: 3.938 kB / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.236e-05/0.3291, allocations: 81.06 kB / 1.023 GB, free: 4.738 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.3291, allocations: 85 kB / 1.023 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.3292, allocations: 4 kB / 1.023 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.313e-05/0.3292, allocations: 0 / 1.023 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.3292, allocations: 4 kB / 1.023 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.3292, allocations: 0 / 1.023 GB, free: 4.629 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.182e-05/0.3293, allocations: 91.2 kB / 1.024 GB, free: 4.539 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.363e-06/0.3293, allocations: 0 / 1.024 GB, free: 4.539 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002092/0.3295, allocations: 19.94 kB / 1.024 GB, free: 4.52 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.0001328/0.3296, allocations: 103.2 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.3298, allocations: 131.2 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3298, allocations: 0 / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.622e-05/0.3299, allocations: 11.98 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.3301, allocations: 11.94 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.3303, allocations: 130 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.3306, allocations: 0.6807 MB / 1.025 GB, free: 3.383 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.917e-05/0.3306, allocations: 4.188 kB / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.426e-05/0.3306, allocations: 11.44 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.3306, allocations: 0 / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of Templates: time 0.003308/0.3339, allocations: 1.051 MB / 1.026 GB, free: 2.332 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=480 -s gbode -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