Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008847/0.008847, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001511/0.001511, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.517/1.517, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.55/2.55, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.22 kB / 0.9508 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4087, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002122/0.4109, allocations: 0.628 MB / 1.089 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.4126, allocations: 1.111 MB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.4127, allocations: 0 / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.4129, allocations: 3.938 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.636e-05/0.4129, allocations: 11.94 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.4135, allocations: 123.2 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00018/0.4137, allocations: 95.64 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.4138, allocations: 15.98 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.048e-05/0.4139, allocations: 27.98 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.414, allocations: 35.89 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.414, allocations: 11.98 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.127e-05/0.4141, allocations: 19.98 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.617e-05/0.4142, allocations: 11.98 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.179e-05/0.4143, allocations: 31.86 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.4145, allocations: 91.72 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4145, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4145, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.4145, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 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.000592/0.4151, allocations: 385.2 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.4152, allocations: 8.031 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.4153, allocations: 8.875 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.4155, allocations: 180.3 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.4155, allocations: 12.38 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.4155, allocations: 8.375 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.4157, allocations: 46.23 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4157, allocations: 192 / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4157, allocations: 7.938 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.4157, allocations: 0 / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.431e-05/0.4158, allocations: 12 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.4162, allocations: 304.7 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.18e-05/0.4163, allocations: 22.56 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.147e-05/0.4163, allocations: 8.922 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.4163, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.4165, allocations: 67.31 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4165, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002225/0.4168, allocations: 65.59 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.4168, allocations: 51.41 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.4169, allocations: 109.8 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.417, allocations: 29.7 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.417, allocations: 84.08 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.4171, allocations: 15.91 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.4171, allocations: 33.69 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4173, allocations: 314.8 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.608e-05/0.4174, allocations: 27.98 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.712e-05/0.4175, allocations: 50.5 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.4176, allocations: 84.27 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4176, allocations: 3.938 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002514/0.4178, allocations: 139.3 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.4179, allocations: 41.69 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.4179, allocations: 3.984 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.4179, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.258e-05/0.418, allocations: 7.938 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.418, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.4182, allocations: 31.97 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.4182, allocations: 7.984 kB / 1.092 GB, free: 12.9 MB / 0.8575 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.000128/0.4184, allocations: 121.8 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.4184, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.4184, allocations: 3.906 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4184, allocations: 240 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4184, allocations: 320 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.4184, allocations: 4 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.4186, allocations: 169.6 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4186, allocations: 12 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-06/0.4186, allocations: 0 / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.4186, allocations: 0 / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.4186, allocations: 0 / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.4187, allocations: 0 / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4187, allocations: 0 / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.4188, allocations: 88.98 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.4188, allocations: 81.02 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.4189, allocations: 4 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.291e-05/0.4189, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.4189, allocations: 4 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.4189, allocations: 3.984 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.49e-05/0.419, allocations: 83.28 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.419, allocations: 3.938 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002162/0.4192, allocations: 19.94 kB / 1.093 GB, free: 12.21 MB / 0.8575 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.0002077/0.4194, allocations: 103.2 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.4197, allocations: 135.2 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4197, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.868e-05/0.4197, allocations: 12 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.42, allocations: 7.984 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.4203, allocations: 122.2 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.4206, allocations: 0.6807 MB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.232e-05/0.4206, allocations: 12.12 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.4206, allocations: 11.44 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.4206, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of Templates: time 0.003883/0.4245, allocations: 1.058 MB / 1.095 GB, free: 10.02 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches