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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001431/0.001432, allocations: 109 kB / 16.41 MB, free: 6.449 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.001288/0.001288, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.63/1.63, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 474.5 MB / 0.7477 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002788/0.002788, allocations: 67.84 kB / 1.073 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9823/0.9851, allocations: 160.3 MB / 1.229 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001855/0.987, allocations: 0.6589 MB / 1.23 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.9881, allocations: 0.8312 MB / 1.231 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.9881, allocations: 0 / 1.231 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.526e-05/0.9882, allocations: 11.86 kB / 1.231 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.641e-05/0.9883, allocations: 7.938 kB / 1.231 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.9884, allocations: 23.97 kB / 1.231 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.239e-05/0.9885, allocations: 31.92 kB / 1.231 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.9887, allocations: 8 kB / 1.231 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.406e-05/0.9887, allocations: 15.92 kB / 1.231 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.446e-05/0.9888, allocations: 19.92 kB / 1.231 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.9888, allocations: 0 / 1.231 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-06/0.9888, allocations: 4 kB / 1.231 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.9889, allocations: 15.97 kB / 1.231 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.9889, allocations: 15.88 kB / 1.231 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.989, allocations: 39.53 kB / 1.231 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.989, allocations: 4 kB / 1.231 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.111e-05/0.9891, allocations: 0 / 1.231 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.9891, allocations: 0 / 1.231 GB, free: 9.449 MB / 0.9512 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.000532/0.9896, allocations: 348.7 kB / 1.231 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.9897, allocations: 12.03 kB / 1.231 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.9897, allocations: 0.9375 kB / 1.231 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.9899, allocations: 180.2 kB / 1.231 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.9899, allocations: 8.359 kB / 1.231 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.9899, allocations: 4.375 kB / 1.231 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.9901, allocations: 70.22 kB / 1.231 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9902, allocations: 192 / 1.231 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.9902, allocations: 3.938 kB / 1.231 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.9902, allocations: 0 / 1.231 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.9904, allocations: 43.95 kB / 1.231 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.9908, allocations: 276.8 kB / 1.232 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.9909, allocations: 38.55 kB / 1.232 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.756e-05/0.9911, allocations: 32.89 kB / 1.232 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.9911, allocations: 0 / 1.232 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.9911, allocations: 34.5 kB / 1.232 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.9911, allocations: 0 / 1.232 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003816/0.9915, allocations: 93.59 kB / 1.232 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.9916, allocations: 55.41 kB / 1.232 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.511e-05/0.9917, allocations: 109.8 kB / 1.232 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.9917, allocations: 25.7 kB / 1.232 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.9918, allocations: 84.09 kB / 1.232 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.9918, allocations: 4 kB / 1.232 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.9918, allocations: 21.83 kB / 1.232 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.992, allocations: 318.8 kB / 1.232 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-05/0.9921, allocations: 15.98 kB / 1.232 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.061e-05/0.9922, allocations: 27.91 kB / 1.233 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.9923, allocations: 44.83 kB / 1.233 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9923, allocations: 0 / 1.233 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001997/0.9925, allocations: 69.61 kB / 1.233 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.9926, allocations: 8 kB / 1.233 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.9926, allocations: 3.984 kB / 1.233 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.9926, allocations: 0 / 1.233 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.558e-05/0.9927, allocations: 4 kB / 1.233 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.9927, allocations: 4 kB / 1.233 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.215e-05/0.9928, allocations: 12.02 kB / 1.233 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.9928, allocations: 4 kB / 1.233 GB, free: 7.305 MB / 0.9512 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.0001328/0.9929, allocations: 117.7 kB / 1.233 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.993, allocations: 4 kB / 1.233 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.993, allocations: 7.125 kB / 1.233 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.993, allocations: 0 / 1.233 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.993, allocations: 3.938 kB / 1.233 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.993, allocations: 0 / 1.233 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.9932, allocations: 165.6 kB / 1.233 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9932, allocations: 4 kB / 1.233 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.057e-05/0.9933, allocations: 11.98 kB / 1.233 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9933, allocations: 3.938 kB / 1.233 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.9933, allocations: 0 / 1.233 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.9934, allocations: 3.984 kB / 1.233 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.9934, allocations: 4 kB / 1.233 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.9936, allocations: 167.5 kB / 1.233 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.9937, allocations: 81.06 kB / 1.233 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.9937, allocations: 4.234 kB / 1.233 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.9938, allocations: 12 kB / 1.233 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.9938, allocations: 7.984 kB / 1.233 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.9939, allocations: 0 / 1.233 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.828e-05/0.9939, allocations: 83.28 kB / 1.233 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.763e-06/0.9939, allocations: 0 / 1.233 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002129/0.9941, allocations: 15.88 kB / 1.233 GB, free: 6.527 MB / 0.9512 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.0001266/0.9943, allocations: 103.3 kB / 1.233 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.9945, allocations: 39.91 kB / 1.233 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.9945, allocations: 0 / 1.233 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.9946, allocations: 23.97 kB / 1.233 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.9949, allocations: 12.11 kB / 1.234 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.9952, allocations: 121.3 kB / 1.234 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.9956, allocations: 0.6846 MB / 1.234 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.306e-05/0.9956, allocations: 7.875 kB / 1.234 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.9956, allocations: 11.44 kB / 1.234 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of SimCode: time 2.91e-07/0.9956, allocations: 0 / 1.234 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of Templates: time 0.003061/0.9987, allocations: 0.6222 MB / 1.235 GB, free: 4.852 MB / 0.9512 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 -s gbode -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