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.001576/0.001576, allocations: 105 kB / 15.98 MB, free: 6.355 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.001778/0.001778, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.379/1.379, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.295/2.295, allocations: 390.3 MB / 0.665 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.36 kB / 0.8127 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2435, allocations: 140.4 MB / 0.9498 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001799/0.2453, allocations: 0.6874 MB / 0.9505 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.2466, allocations: 1.116 MB / 0.9515 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.2467, allocations: 0 / 0.9515 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.537e-05/0.2467, allocations: 3.984 kB / 0.9515 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.304e-05/0.2468, allocations: 7.938 kB / 0.9516 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.2472, allocations: 111.6 kB / 0.9517 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.2474, allocations: 91.83 kB / 0.9517 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.322e-05/0.2475, allocations: 12 kB / 0.9518 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.687e-05/0.2476, allocations: 39.89 kB / 0.9518 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/0.2476, allocations: 27.91 kB / 0.9518 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.2477, allocations: 8 kB / 0.9518 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.493e-05/0.2477, allocations: 15.98 kB / 0.9518 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.2478, allocations: 8 kB / 0.9519 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.2479, allocations: 39.89 kB / 0.9519 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.248, allocations: 51.89 kB / 0.9519 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.248, allocations: 0 / 0.9519 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.604e-06/0.248, allocations: 0 / 0.9519 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.248, allocations: 0 / 0.9519 GB, free: 7.059 MB / 0.7325 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.0004205/0.2484, allocations: 393.3 kB / 0.9523 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.2485, allocations: 8.031 kB / 0.9523 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.2485, allocations: 12.84 kB / 0.9523 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.2487, allocations: 184.3 kB / 0.9525 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.2487, allocations: 4.375 kB / 0.9525 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.2487, allocations: 4.375 kB / 0.9525 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.701e-05/0.2488, allocations: 42.25 kB / 0.9526 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.2489, allocations: 192 / 0.9526 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2489, allocations: 7.938 kB / 0.9526 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2489, allocations: 8 kB / 0.9526 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.863e-05/0.2489, allocations: 4 kB / 0.9526 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.2493, allocations: 320.6 kB / 0.9529 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.126e-05/0.2493, allocations: 22.58 kB / 0.9529 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.573e-05/0.2494, allocations: 8.859 kB / 0.9529 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.2494, allocations: 4 kB / 0.9529 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.2495, allocations: 63.39 kB / 0.953 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.2495, allocations: 0 / 0.953 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0001655/0.2497, allocations: 57.88 kB / 0.953 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.2497, allocations: 55.41 kB / 0.9531 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.951e-05/0.2498, allocations: 109.8 kB / 0.9532 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.2498, allocations: 25.7 kB / 0.9532 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.2499, allocations: 96.12 kB / 0.9533 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.247e-06/0.2499, allocations: 3.906 kB / 0.9533 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.25, allocations: 37.64 kB / 0.9533 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2501, allocations: 314.8 kB / 0.9536 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.022e-05/0.2502, allocations: 31.98 kB / 0.9537 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.76e-05/0.2502, allocations: 54.47 kB / 0.9537 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.2503, allocations: 80.28 kB / 0.9538 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2504, allocations: 0 / 0.9538 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002415/0.2506, allocations: 147.3 kB / 0.9539 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.2506, allocations: 29.7 kB / 0.954 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2507, allocations: 7.938 kB / 0.954 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.2507, allocations: 0 / 0.954 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.541e-05/0.2507, allocations: 320 / 0.954 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2507, allocations: 7.938 kB / 0.954 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.2509, allocations: 32.05 kB / 0.954 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.2509, allocations: 8 kB / 0.954 GB, free: 4.648 MB / 0.7325 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.33e-05/0.251, allocations: 121.3 kB / 0.9541 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.2511, allocations: 7.906 kB / 0.9542 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.2511, allocations: 11.89 kB / 0.9542 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.2511, allocations: 0 / 0.9542 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2511, allocations: 0 / 0.9542 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2511, allocations: 0 / 0.9542 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.2512, allocations: 165.6 kB / 0.9543 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2512, allocations: 0 / 0.9543 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.694e-06/0.2513, allocations: 3.984 kB / 0.9543 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2513, allocations: 4 kB / 0.9543 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.2513, allocations: 0 / 0.9543 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2513, allocations: 0 / 0.9543 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2513, allocations: 0 / 0.9543 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.5e-05/0.2514, allocations: 81 kB / 0.9544 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.2514, allocations: 85.02 kB / 0.9545 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.2515, allocations: 7.984 kB / 0.9545 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.368e-05/0.2515, allocations: 0 / 0.9545 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/0.2515, allocations: 0 / 0.9545 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.2515, allocations: 4 kB / 0.9545 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.2516, allocations: 83.28 kB / 0.9546 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2516, allocations: 0 / 0.9546 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000215/0.2518, allocations: 19.98 kB / 0.9546 GB, free: 3.965 MB / 0.7325 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.0001344/0.2519, allocations: 103.2 kB / 0.9547 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.2521, allocations: 127.2 kB / 0.9548 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2521, allocations: 0 / 0.9548 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.507e-05/0.2522, allocations: 19.97 kB / 0.9548 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.2524, allocations: 7.938 kB / 0.9548 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.2527, allocations: 168 kB / 0.955 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.253, allocations: 0.6844 MB / 0.9557 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.253, allocations: 15.38 kB / 0.9557 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.253, allocations: 0 / 0.9557 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.002625/0.2556, allocations: 0.9157 MB / 0.9566 GB, free: 1.863 MB / 0.7325 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/jenkins1/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