Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 106.4 kB / 16.27 MB, free: 6.414 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.001109/0.001109, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.274/2.274, allocations: 390.3 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 68.58 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2538, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002296/0.2562, allocations: 0.656 MB / 0.9509 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.2572, allocations: 0.841 MB / 0.9517 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.056e-05/0.2573, allocations: 0 / 0.9517 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.975e-05/0.2574, allocations: 3.938 kB / 0.9517 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.319e-05/0.2575, allocations: 3.938 kB / 0.9517 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.2576, allocations: 15.98 kB / 0.9518 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.846e-05/0.2577, allocations: 35.92 kB / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.2579, allocations: 11.98 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.653e-05/0.2579, allocations: 15.92 kB / 0.9518 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.819e-05/0.258, allocations: 23.91 kB / 0.9518 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.258, allocations: 4 kB / 0.9518 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.258, allocations: 4 kB / 0.9519 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.667e-05/0.2581, allocations: 4 kB / 0.9519 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.2582, allocations: 19.86 kB / 0.9519 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.348e-05/0.2582, allocations: 35.88 kB / 0.9519 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2583, allocations: 4 kB / 0.9519 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2583, allocations: 3.938 kB / 0.9519 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2583, allocations: 0 / 0.9519 GB, free: 7.172 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004788/0.2588, allocations: 351.7 kB / 0.9523 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2588, allocations: 8.031 kB / 0.9523 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.2589, allocations: 8.781 kB / 0.9523 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.259, allocations: 172.4 kB / 0.9524 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.2591, allocations: 4.375 kB / 0.9524 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.2591, allocations: 4.375 kB / 0.9524 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.2593, allocations: 66.22 kB / 0.9525 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2593, allocations: 192 / 0.9525 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.2593, allocations: 3.938 kB / 0.9525 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2593, allocations: 0 / 0.9525 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.2595, allocations: 43.95 kB / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.2599, allocations: 288.6 kB / 0.9528 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.2601, allocations: 42.55 kB / 0.9529 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.208e-05/0.2602, allocations: 20.91 kB / 0.9529 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.2602, allocations: 7.984 kB / 0.9529 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.2603, allocations: 38.5 kB / 0.9529 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2603, allocations: 0 / 0.9529 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003832/0.2607, allocations: 85.62 kB / 0.953 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.2607, allocations: 51.41 kB / 0.9531 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.839e-05/0.2608, allocations: 102 kB / 0.9532 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.2608, allocations: 25.7 kB / 0.9532 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.2609, allocations: 104.1 kB / 0.9533 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.2609, allocations: 7.969 kB / 0.9533 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.2609, allocations: 13.72 kB / 0.9533 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.2611, allocations: 322.8 kB / 0.9536 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.392e-05/0.2612, allocations: 19.98 kB / 0.9536 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.098e-05/0.2612, allocations: 16.05 kB / 0.9536 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.2614, allocations: 52.81 kB / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2614, allocations: 0 / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002085/0.2617, allocations: 69.66 kB / 0.9538 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2617, allocations: 4 kB / 0.9538 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2617, allocations: 0 / 0.9538 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.2617, allocations: 0 / 0.9538 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.2618, allocations: 16.02 kB / 0.9538 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2618, allocations: 0 / 0.9538 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.84e-05/0.2619, allocations: 7.984 kB / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.2619, allocations: 0 / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.000127/0.2621, allocations: 125.2 kB / 0.9539 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.2621, allocations: 0 / 0.9539 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.2621, allocations: 3.125 kB / 0.9539 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2621, allocations: 3.938 kB / 0.9539 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2621, allocations: 8 kB / 0.9539 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.2621, allocations: 3.984 kB / 0.9539 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.2623, allocations: 165.6 kB / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2623, allocations: 0 / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.192e-05/0.2624, allocations: 7.984 kB / 0.9541 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2624, allocations: 0 / 0.9541 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.2624, allocations: 4 kB / 0.9541 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2624, allocations: 3.984 kB / 0.9541 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2624, allocations: 3.984 kB / 0.9541 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.2627, allocations: 171.4 kB / 0.9543 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.2628, allocations: 81.11 kB / 0.9543 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.2628, allocations: 0 / 0.9543 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.347e-05/0.2629, allocations: 7.984 kB / 0.9544 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.2629, allocations: 4 kB / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.2629, allocations: 4 kB / 0.9544 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.271e-05/0.263, allocations: 91.3 kB / 0.9544 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.263, allocations: 7.875 kB / 0.9545 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002237/0.2632, allocations: 4 kB / 0.9545 GB, free: 4.25 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001267/0.2634, allocations: 99.25 kB / 0.9546 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.2636, allocations: 43.89 kB / 0.9546 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2636, allocations: 0 / 0.9546 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.2638, allocations: 28.05 kB / 0.9546 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.264, allocations: 3.984 kB / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.2644, allocations: 147.2 kB / 0.9548 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.2646, allocations: 0.6883 MB / 0.9554 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.2646, allocations: 11.44 kB / 0.9554 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.2646, allocations: 4.062 kB / 0.9555 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of Templates: time 0.002064/0.2667, allocations: 0.6804 MB / 0.9561 GB, free: 2.492 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches