Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001209/0.001209, allocations: 92.16 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.001405/0.001405, allocations: 182.9 kB / 16.92 MB, free: 6.926 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.759/2.759, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003743, allocations: 13.97 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3011, allocations: 159.6 MB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.0008904/0.3021, allocations: 403.2 kB / 1.06 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.3031, allocations: 0.8274 MB / 1.061 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.3032, allocations: 4 kB / 1.061 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.864e-05/0.3032, allocations: 3.938 kB / 1.061 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.628e-05/0.3033, allocations: 0 / 1.061 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.3034, allocations: 15.92 kB / 1.061 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.814e-05/0.3035, allocations: 31.97 kB / 1.061 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.431e-05/0.3036, allocations: 4 kB / 1.061 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.128e-05/0.3037, allocations: 19.92 kB / 1.061 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.254e-05/0.3038, allocations: 11.92 kB / 1.061 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.3038, allocations: 3.938 kB / 1.061 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.3038, allocations: 4 kB / 1.061 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.388e-05/0.3039, allocations: 11.98 kB / 1.061 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.918e-05/0.3039, allocations: 45.56 kB / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.419e-05/0.304, allocations: 19.95 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.304, allocations: 0 / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.676e-06/0.304, allocations: 3.984 kB / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.304, allocations: 0 / 1.061 GB, free: 3.602 MB / 0.8106 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.0004617/0.3045, allocations: 351.7 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3045, allocations: 15.97 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.3046, allocations: 4.844 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.3047, allocations: 172.4 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.3048, allocations: 4.375 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.3048, allocations: 384 / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.305, allocations: 74.2 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.305, allocations: 4.188 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.305, allocations: 3.938 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.305, allocations: 0 / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.3053, allocations: 59.89 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.3057, allocations: 288.7 kB / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.3058, allocations: 46.48 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.3059, allocations: 32.91 kB / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.306, allocations: 0 / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.306, allocations: 34.56 kB / 1.062 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.306, allocations: 0 / 1.062 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000404/0.3064, allocations: 105.6 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.3065, allocations: 51.41 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.474e-05/0.3065, allocations: 109.9 kB / 1.062 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.3066, allocations: 25.7 kB / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.3066, allocations: 92.03 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.3066, allocations: 7.844 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.3067, allocations: 17.84 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3068, allocations: 318.8 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.942e-05/0.3069, allocations: 23.97 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.904e-05/0.307, allocations: 23.98 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.3072, allocations: 52.88 kB / 1.063 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3072, allocations: 0 / 1.063 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002404/0.3074, allocations: 85.66 kB / 1.063 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3075, allocations: 4 kB / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.3075, allocations: 64 / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3075, allocations: 8 kB / 1.063 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.3076, allocations: 15.92 kB / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3076, allocations: 0 / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.3077, allocations: 8.031 kB / 1.063 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.3077, allocations: 7.984 kB / 1.063 GB, free: 1.367 MB / 0.8106 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.0001137/0.3078, allocations: 113.8 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.3079, allocations: 4 kB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.969e-05/0.3079, allocations: 3.125 kB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3079, allocations: 0 / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3079, allocations: 0 / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3079, allocations: 0 / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.3081, allocations: 173.6 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3081, allocations: 0 / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.78e-05/0.3082, allocations: 15.98 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3082, allocations: 0 / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3082, allocations: 3.938 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3082, allocations: 0 / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3082, allocations: 0 / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.3085, allocations: 191.3 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.3086, allocations: 77.11 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.3086, allocations: 0 / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-05/0.3087, allocations: 8 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.3087, allocations: 12.02 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.3087, allocations: 0 / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.816e-05/0.3088, allocations: 87.27 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3088, allocations: 0 / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002177/0.309, allocations: 4 kB / 1.063 GB, free: 0.5977 MB / 0.8106 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.0001178/0.3091, allocations: 99.25 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.3094, allocations: 59.89 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3094, allocations: 3.938 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3095, allocations: 19.98 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.3098, allocations: 12.06 kB / 1.064 GB, free: 404 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.3101, allocations: 154.4 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.3104, allocations: 0.6848 MB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.3104, allocations: 7.438 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3105, allocations: 4 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of Templates: time 0.002005/0.3125, allocations: 0.6676 MB / 1.065 GB, free: 14.82 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches