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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01272/0.01272, allocations: 100.7 kB / 15.73 MB, free: 6.438 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.001918/0.001918, allocations: 194.9 kB / 16.68 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.302/2.302, allocations: 222.9 MB / 240.4 MB, free: 4.297 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 4.446/4.446, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 64.03 kB / 0.9504 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4627/0.4648, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002857/0.4677, allocations: 0.6688 MB / 1.088 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.4695, allocations: 0.8277 MB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.772e-05/0.4696, allocations: 0 / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.4698, allocations: 3.938 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.276e-05/0.4699, allocations: 7.938 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.4701, allocations: 27.97 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.4702, allocations: 27.92 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.4704, allocations: 11.98 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.4705, allocations: 11.94 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.4706, allocations: 23.91 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.4707, allocations: 0 / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.907e-05/0.4707, allocations: 4 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.411e-05/0.4708, allocations: 11.98 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.464e-05/0.4709, allocations: 23.86 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.4711, allocations: 38.69 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4711, allocations: 0 / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.455e-06/0.4711, allocations: 0 / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.4711, allocations: 0 / 1.089 GB, free: 284 kB / 0.8419 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.0008042/0.472, allocations: 347.5 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.524e-05/0.472, allocations: 12.03 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.405e-05/0.4721, allocations: 38.62 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.4722, allocations: 0.9375 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.4724, allocations: 181.1 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.4725, allocations: 8.375 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.4725, allocations: 384 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.4728, allocations: 66.22 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.4728, allocations: 3.938 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.4728, allocations: 4 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.4729, allocations: 0 / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003024/0.4732, allocations: 43.89 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006671/0.4739, allocations: 276.8 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.4741, allocations: 42.55 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.4743, allocations: 24.84 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.4743, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.4744, allocations: 42.5 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 3.867e-06/0.4744, allocations: 3.984 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0006296/0.475, allocations: 89.53 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.4751, allocations: 51.41 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.4753, allocations: 105.9 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.4753, allocations: 25.7 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.275e-05/0.4754, allocations: 92.25 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.4755, allocations: 7.906 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.4756, allocations: 17.72 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002171/0.4758, allocations: 318.8 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.4759, allocations: 15.98 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.4761, allocations: 19.92 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.4764, allocations: 48.88 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4764, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003489/0.4768, allocations: 65.66 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.4768, allocations: 9.719 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.4768, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/0.4769, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.4771, allocations: 16.02 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.4771, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/0.4772, allocations: 7.984 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.4772, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 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.0002853/0.4775, allocations: 121.7 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.4775, allocations: 3.906 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.4776, allocations: 3.125 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4776, allocations: 3.938 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.4776, allocations: 4 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.4776, allocations: 7.984 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.478, allocations: 173.6 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.478, allocations: 3.984 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.031e-05/0.4781, allocations: 4 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.4781, allocations: 0 / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.4781, allocations: 3.984 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.4782, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4782, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.4786, allocations: 167.5 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.4787, allocations: 77.11 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.4787, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.4788, allocations: 3.984 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/0.4789, allocations: 11.94 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.4789, allocations: 256 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.737e-05/0.479, allocations: 91.3 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.479, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004078/0.4795, allocations: 19.84 kB / 1.092 GB, free: 13.31 MB / 0.8575 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.00108/0.4805, allocations: 0.6968 MB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003607/0.4809, allocations: 39.95 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4809, allocations: 3.938 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.4811, allocations: 23.97 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.4816, allocations: 4 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.4838, allocations: 1.266 MB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.4843, allocations: 0.6807 MB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.632e-05/0.4844, allocations: 4 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.568e-05/0.4845, allocations: 15.44 kB / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of SimCode: time 1.132e-06/0.4845, allocations: 4.031 kB / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.5133, allocations: 1.52 MB / 1.096 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.13, allocations: 15.69 kB / 1.096 GB, free: 9.039 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > 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