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.001596/0.001596, allocations: 105.7 kB / 16.27 MB, free: 6.004 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.001845/0.001845, allocations: 193.9 kB / 17.2 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.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.509/2.509, allocations: 437 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 76.41 kB / 0.8699 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3443, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002596/0.3469, allocations: 0.6165 MB / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.3489, allocations: 1.118 MB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.48e-05/0.349, allocations: 0 / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.3491, allocations: 3.938 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.047e-05/0.3492, allocations: 3.938 kB / 1.02 GB, free: 8.922 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006921/0.3499, allocations: 119 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.3501, allocations: 107.8 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3502, allocations: 4 kB / 1.02 GB, free: 8.699 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.827e-05/0.3503, allocations: 27.98 kB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.3504, allocations: 31.89 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.3505, allocations: 8 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.795e-05/0.3506, allocations: 23.98 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.3506, allocations: 7.984 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.694e-05/0.3507, allocations: 39.86 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.351, allocations: 87.77 kB / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.351, allocations: 0 / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.673e-06/0.351, allocations: 3.938 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.351, allocations: 4 kB / 1.02 GB, free: 8.469 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.0006033/0.3516, allocations: 383.5 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.3517, allocations: 8.922 kB / 1.02 GB, free: 8.031 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.195e-05/0.3517, allocations: 4.938 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.352, allocations: 180.4 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.352, allocations: 4.359 kB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.3521, allocations: 16.38 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.3523, allocations: 42.25 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3523, allocations: 192 / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.3523, allocations: 3.938 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.3523, allocations: 0 / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.999e-05/0.3524, allocations: 19.92 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.3529, allocations: 308.7 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.63e-05/0.353, allocations: 22.52 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.385e-05/0.353, allocations: 8.922 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.353, allocations: 0 / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.3532, allocations: 67.31 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.3532, allocations: 0 / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0002663/0.3535, allocations: 57.69 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.3535, allocations: 55.41 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3537, allocations: 113.8 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.3537, allocations: 33.7 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/0.3538, allocations: 92.12 kB / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.3538, allocations: 3.906 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.15e-05/0.3539, allocations: 29.7 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3541, allocations: 318.8 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.3542, allocations: 31.92 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.3543, allocations: 54.55 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.3545, allocations: 80.2 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.3545, allocations: 4 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003405/0.3549, allocations: 139.3 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.178e-05/0.3549, allocations: 33.7 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.355, allocations: 8.078 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.355, allocations: 7.938 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.353e-05/0.355, allocations: 4 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.355, allocations: 3.984 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.3554, allocations: 27.88 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.3554, allocations: 4 kB / 1.022 GB, free: 6.074 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.00014/0.3555, allocations: 126.9 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.3556, allocations: 4 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.3556, allocations: 3.906 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3556, allocations: 4 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3556, allocations: 0 / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.3556, allocations: 240 / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.3558, allocations: 165.6 kB / 1.022 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3558, allocations: 0 / 1.022 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-06/0.3558, allocations: 0 / 1.022 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3558, allocations: 3.984 kB / 1.022 GB, free: 5.711 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3559, allocations: 4 kB / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3559, allocations: 0 / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3559, allocations: 8 kB / 1.022 GB, free: 5.699 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.356, allocations: 81 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.3561, allocations: 81.02 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.3561, allocations: 3.984 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.2e-05/0.3561, allocations: 4.312 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.3562, allocations: 3.938 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.984e-06/0.3562, allocations: 4 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.3563, allocations: 95.27 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3563, allocations: 0 / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003381/0.3566, allocations: 12 kB / 1.023 GB, free: 5.383 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.0001961/0.3568, allocations: 99.25 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002989/0.3571, allocations: 127.2 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.3572, allocations: 0 / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.577e-05/0.3572, allocations: 15.92 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.3576, allocations: 16.19 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.358, allocations: 155.8 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.3585, allocations: 0.6845 MB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.3585, allocations: 11.44 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of SimCode: time 3.41e-07/0.3585, allocations: 0 / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of Templates: time 0.003618/0.3621, allocations: 0.9111 MB / 1.025 GB, free: 3.297 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 -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