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.001472/0.001472, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001987/0.001988, allocations: 195.9 kB / 16.26 MB, free: 6.625 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.473 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.496/2.496, allocations: 390.2 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7943/0.796, allocations: 140.4 MB / 0.9491 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001916/0.798, allocations: 0.7238 MB / 0.9498 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007572/0.7988, allocations: 0.8283 MB / 0.9506 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.7988, allocations: 0 / 0.9506 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.183e-05/0.7989, allocations: 9.297 kB / 0.9506 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 1.72e-05/0.799, allocations: 3.984 kB / 0.9506 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.7991, allocations: 16.12 kB / 0.9506 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.779e-05/0.7992, allocations: 29.67 kB / 0.9507 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.681e-05/0.7993, allocations: 16.11 kB / 0.9507 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.205e-05/0.7994, allocations: 17.42 kB / 0.9507 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.901e-05/0.7994, allocations: 20.03 kB / 0.9507 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.7994, allocations: 4.125 kB / 0.9507 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.7995, allocations: 2.75 kB / 0.9507 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.7995, allocations: 6.75 kB / 0.9507 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/0.7996, allocations: 19.98 kB / 0.9508 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.971e-05/0.7997, allocations: 34.75 kB / 0.9508 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7997, allocations: 0 / 0.9508 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7997, allocations: 1.375 kB / 0.9508 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.7997, allocations: 0 / 0.9508 GB, free: 7.93 MB / 0.7169 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.0003891/0.8001, allocations: 357.8 kB / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.8001, allocations: 9.969 kB / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.8002, allocations: 6.156 kB / 0.9511 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.8003, allocations: 172.1 kB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.8003, allocations: 5.844 kB / 0.9513 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.8003, allocations: 7.172 kB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.8005, allocations: 63.5 kB / 0.9514 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.8005, allocations: 5.406 kB / 0.9514 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.8005, allocations: 3.938 kB / 0.9514 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.8006, allocations: 1.312 kB / 0.9514 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.8007, allocations: 47.92 kB / 0.9514 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.801, allocations: 272.5 kB / 0.9517 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.8012, allocations: 49.53 kB / 0.9517 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.513e-05/0.8013, allocations: 24.44 kB / 0.9518 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.8013, allocations: 0 / 0.9518 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.175e-05/0.8013, allocations: 35.84 kB / 0.9518 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.8013, allocations: 0 / 0.9518 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003617/0.8017, allocations: 91.41 kB / 0.9519 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.8017, allocations: 51.41 kB / 0.9519 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.265e-05/0.8018, allocations: 101.3 kB / 0.952 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.864e-06/0.8018, allocations: 25.7 kB / 0.9521 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.609e-05/0.8018, allocations: 90.28 kB / 0.9521 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.267e-05/0.8018, allocations: 9.062 kB / 0.9522 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.8019, allocations: 17.66 kB / 0.9522 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.369e-05/0.8019, allocations: 320.2 kB / 0.9525 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.675e-05/0.802, allocations: 29.45 kB / 0.9525 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.8021, allocations: 21.86 kB / 0.9525 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.8023, allocations: 41.88 kB / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8023, allocations: 4.062 kB / 0.9526 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001922/0.8025, allocations: 70.22 kB / 0.9526 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.8025, allocations: 4.969 kB / 0.9526 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.8025, allocations: 1.531 kB / 0.9526 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.8025, allocations: 0 / 0.9526 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.975e-05/0.8026, allocations: 9.891 kB / 0.9527 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.403e-06/0.8026, allocations: 3.984 kB / 0.9527 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.8027, allocations: 16.42 kB / 0.9527 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.8027, allocations: 1.031 kB / 0.9527 GB, free: 6.027 MB / 0.7169 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.0001108/0.8028, allocations: 112.4 kB / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.8029, allocations: 1.188 kB / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.8029, allocations: 8.531 kB / 0.9528 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.8029, allocations: 0 / 0.9528 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.8029, allocations: 1.094 kB / 0.9528 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.8029, allocations: 0 / 0.9528 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.803, allocations: 173.4 kB / 0.953 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.803, allocations: 5.312 kB / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.048e-05/0.8031, allocations: 13.23 kB / 0.953 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.8031, allocations: 1.281 kB / 0.953 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.8031, allocations: 0 / 0.953 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.8031, allocations: 5.234 kB / 0.953 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8031, allocations: 0 / 0.953 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.8033, allocations: 173.5 kB / 0.9531 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.8034, allocations: 77.11 kB / 0.9532 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.8034, allocations: 5.312 kB / 0.9532 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/0.8035, allocations: 7.234 kB / 0.9532 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.8035, allocations: 3 kB / 0.9532 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.8035, allocations: 1.344 kB / 0.9532 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.434e-05/0.8036, allocations: 90.86 kB / 0.9533 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8036, allocations: 0 / 0.9533 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002164/0.8038, allocations: 5.188 kB / 0.9533 GB, free: 5.328 MB / 0.7169 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.0001016/0.8039, allocations: 102.4 kB / 0.9534 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.8041, allocations: 47.11 kB / 0.9535 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.8041, allocations: 3.938 kB / 0.9535 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.049e-05/0.8042, allocations: 21.19 kB / 0.9535 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.8045, allocations: 6.844 kB / 0.9535 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.8048, allocations: 135.3 kB / 0.9536 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.8049, allocations: 0.6874 MB / 0.9543 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.718e-05/0.8049, allocations: 2.312 kB / 0.9543 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.805, allocations: 13.73 kB / 0.9543 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.805, allocations: 4 kB / 0.9543 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of Templates: time 0.002441/0.8074, allocations: 0.5419 MB / 0.9549 GB, free: 4.055 MB / 0.7169 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/jenkins/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