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.000997/0.0009968, allocations: 99.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 181.2 kB / 16.92 MB, free: 6.891 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.432/1.432, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.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.628/2.628, allocations: 437.8 MB / 0.7128 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003982, allocations: 12 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6143/0.6147, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.0007471/0.6155, allocations: 368.5 kB / 1.024 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.6169, allocations: 1.105 MB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.617, allocations: 3.938 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.861e-05/0.6171, allocations: 4 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.234e-05/0.6171, allocations: 11.91 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.6176, allocations: 103.9 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.6177, allocations: 79.83 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.585e-05/0.6178, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.001e-05/0.6179, allocations: 31.91 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.651e-05/0.618, allocations: 31.89 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.618, allocations: 4 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.141e-05/0.6181, allocations: 23.98 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.6181, allocations: 7.938 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.89e-05/0.6182, allocations: 53.61 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.6183, allocations: 63.8 kB / 1.026 GB, free: 14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6183, allocations: 0 / 1.026 GB, free: 14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.819e-06/0.6183, allocations: 4 kB / 1.026 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.6183, allocations: 0 / 1.026 GB, free: 13.99 MB / 0.7794 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.0003834/0.6187, allocations: 371.1 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.6188, allocations: 8.031 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.6188, allocations: 12.84 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.619, allocations: 176.4 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.619, allocations: 4.359 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.6191, allocations: 16.3 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.609e-05/0.6192, allocations: 46.25 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.6192, allocations: 192 / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.6192, allocations: 3.938 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6192, allocations: 0 / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.229e-05/0.6192, allocations: 12 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.6196, allocations: 304.7 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.663e-05/0.6197, allocations: 26.56 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.6197, allocations: 8.922 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.6197, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.62e-05/0.6198, allocations: 59.39 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.6198, allocations: 4 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001743/0.62, allocations: 61.62 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.62, allocations: 51.41 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.389e-05/0.6201, allocations: 105.8 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.6201, allocations: 29.7 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.626e-05/0.6202, allocations: 96.03 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.6202, allocations: 3.906 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.6203, allocations: 21.7 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.6204, allocations: 318.8 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.872e-05/0.6204, allocations: 27.98 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.813e-05/0.6205, allocations: 50.55 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.6207, allocations: 80.16 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6207, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002559/0.6209, allocations: 151.3 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.621, allocations: 39.58 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.621, allocations: 320 / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.621, allocations: 0 / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.765e-05/0.621, allocations: 4 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.621, allocations: 4 kB / 1.028 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.6213, allocations: 43.98 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.6213, allocations: 11.94 kB / 1.028 GB, free: 11.62 MB / 0.7794 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.0001016/0.6214, allocations: 122.2 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.6214, allocations: 3.906 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.6215, allocations: 11.89 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6215, allocations: 0 / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6215, allocations: 0 / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.6215, allocations: 240 / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.6216, allocations: 165.6 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6216, allocations: 4 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.343e-06/0.6216, allocations: 3.984 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6217, allocations: 3.984 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.6217, allocations: 4 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6217, allocations: 0 / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6217, allocations: 0 / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.6218, allocations: 77.06 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.6218, allocations: 77.11 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.6219, allocations: 8 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.732e-05/0.6219, allocations: 3.984 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.6219, allocations: 3.938 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.6219, allocations: 4 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.26e-05/0.622, allocations: 83.28 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.622, allocations: 0 / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002206/0.6222, allocations: 23.89 kB / 1.028 GB, free: 10.93 MB / 0.7794 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.0001574/0.6224, allocations: 99.25 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001918/0.6226, allocations: 127.3 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6226, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.384e-05/0.6226, allocations: 15.88 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.6228, allocations: 11.98 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.6232, allocations: 156.5 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.6234, allocations: 0.6848 MB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.6234, allocations: 7.438 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6235, allocations: 4 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of Templates: time 0.002363/0.6258, allocations: 0.9156 MB / 1.03 GB, free: 8.852 MB / 0.7794 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