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.005322/0.005322, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001261/0.001261, allocations: 191.1 kB / 16.79 MB, free: 5.809 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.411/1.411, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.825/2.825, allocations: 461.9 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.00135, allocations: 63.92 kB / 0.8991 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2922, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001817/0.2941, allocations: 0.7287 MB / 1.053 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008163/0.2949, allocations: 0.8351 MB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.296e-05/0.295, allocations: 0 / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.571e-05/0.2951, allocations: 0 / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.929e-05/0.2951, allocations: 7.938 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.2953, allocations: 11.98 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.392e-05/0.2954, allocations: 27.92 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2955, allocations: 15.98 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.933e-05/0.2955, allocations: 19.91 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.526e-05/0.2956, allocations: 15.92 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.2956, allocations: 7.938 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.2956, allocations: 0 / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.2957, allocations: 11.92 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.2957, allocations: 11.94 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.231e-05/0.2958, allocations: 31.94 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2958, allocations: 0 / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2958, allocations: 0 / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.2958, allocations: 4 kB / 1.054 GB, free: 6.5 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.0004345/0.2962, allocations: 355.6 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2963, allocations: 11.97 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.2963, allocations: 4.938 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.2965, allocations: 172.4 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.2965, allocations: 384 / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2965, allocations: 4.375 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.2967, allocations: 70.16 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.2967, allocations: 192 / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2967, allocations: 3.938 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2967, allocations: 4 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.2969, allocations: 43.95 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.2973, allocations: 284.7 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.2974, allocations: 46.42 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.009e-05/0.2975, allocations: 24.91 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.2976, allocations: 0 / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.2976, allocations: 30.56 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/0.2976, allocations: 4 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003679/0.298, allocations: 89.62 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.298, allocations: 55.34 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.2981, allocations: 109.8 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.2981, allocations: 25.7 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.2982, allocations: 88.12 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.2982, allocations: 4.031 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.2982, allocations: 17.72 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2983, allocations: 322.8 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.799e-05/0.2984, allocations: 15.97 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.908e-05/0.2985, allocations: 19.98 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.2987, allocations: 44.88 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2987, allocations: 0 / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002074/0.2989, allocations: 73.59 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2989, allocations: 4 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2989, allocations: 4 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2989, allocations: 0 / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.7e-05/0.299, allocations: 7.984 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2991, allocations: 3.938 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.604e-05/0.2991, allocations: 12.02 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2991, allocations: 0 / 1.056 GB, free: 4.355 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.00013/0.2993, allocations: 117.8 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.2993, allocations: 7.906 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.685e-05/0.2993, allocations: 7.062 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2993, allocations: 0 / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2993, allocations: 0 / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2993, allocations: 0 / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.2995, allocations: 177.7 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2995, allocations: 0 / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/0.2996, allocations: 11.98 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2996, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.2996, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2996, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.2996, allocations: 3.984 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.2999, allocations: 175.4 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.2999, allocations: 77.11 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.2999, allocations: 0 / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.3, allocations: 7.984 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.3001, allocations: 4 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-06/0.3001, allocations: 0 / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.058e-05/0.3001, allocations: 91.52 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3001, allocations: 0 / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002137/0.3004, allocations: 4 kB / 1.057 GB, free: 3.594 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.0001162/0.3005, allocations: 103.3 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.3007, allocations: 47.89 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3007, allocations: 0 / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.817e-05/0.3008, allocations: 19.92 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.3011, allocations: 16.11 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.3014, allocations: 152.8 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.3016, allocations: 0.6809 MB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.3017, allocations: 7.438 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3017, allocations: 0 / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.001751/0.3034, allocations: 0.6838 MB / 1.059 GB, free: 1.82 MB / 0.8106 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