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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001137/0.001138, allocations: 91.3 kB / 15.36 MB, free: 0.7344 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.009395/0.009396, allocations: 171.7 kB / 16.26 MB, free: 6.68 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.387/1.387, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 390.9 MB / 0.6664 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7915/0.7919, allocations: 142.4 MB / 0.9552 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.0009245/0.7929, allocations: 397.8 kB / 0.9556 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.794, allocations: 0.8227 MB / 0.9564 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.7941, allocations: 1.344 kB / 0.9564 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.7942, allocations: 7.922 kB / 0.9564 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.662e-05/0.7942, allocations: 0 / 0.9564 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.7944, allocations: 17.06 kB / 0.9564 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.392e-05/0.7945, allocations: 28.8 kB / 0.9564 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.7946, allocations: 16.44 kB / 0.9564 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.19e-05/0.7947, allocations: 8.062 kB / 0.9564 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.983e-05/0.7948, allocations: 16.86 kB / 0.9565 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.7948, allocations: 1.219 kB / 0.9565 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.7948, allocations: 6.125 kB / 0.9565 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.223e-05/0.7949, allocations: 10.36 kB / 0.9565 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.7949, allocations: 37.3 kB / 0.9565 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.946e-05/0.795, allocations: 39.05 kB / 0.9565 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.795, allocations: 0 / 0.9565 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.276e-06/0.795, allocations: 1.125 kB / 0.9565 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.7951, allocations: 0 / 0.9565 GB, free: 6.562 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.0004156/0.7955, allocations: 347.4 kB / 0.9569 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.7955, allocations: 9.562 kB / 0.9569 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.7956, allocations: 37 kB / 0.9569 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.7956, allocations: 10.28 kB / 0.9569 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.7957, allocations: 172.3 kB / 0.9571 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.7958, allocations: 5.75 kB / 0.9571 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.7958, allocations: 2.531 kB / 0.9571 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.796, allocations: 68.69 kB / 0.9572 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.796, allocations: 5.656 kB / 0.9572 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.7961, allocations: 7.922 kB / 0.9572 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.7961, allocations: 4 kB / 0.9572 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.7963, allocations: 54.52 kB / 0.9572 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.7966, allocations: 279.6 kB / 0.9575 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.7968, allocations: 54.73 kB / 0.9576 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.558e-05/0.7969, allocations: 24.56 kB / 0.9576 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.7969, allocations: 4 kB / 0.9576 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.7969, allocations: 36.06 kB / 0.9576 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.797, allocations: 0 / 0.9576 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004072/0.7974, allocations: 106 kB / 0.9577 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.7974, allocations: 51.41 kB / 0.9578 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.7e-05/0.7975, allocations: 100.3 kB / 0.9579 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.7975, allocations: 34.5 kB / 0.9579 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.7975, allocations: 91.7 kB / 0.958 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.7976, allocations: 5.25 kB / 0.958 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.7976, allocations: 11.34 kB / 0.958 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.333e-05/0.7977, allocations: 324.1 kB / 0.9583 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.453e-05/0.7978, allocations: 25.88 kB / 0.9583 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.494e-05/0.7978, allocations: 23.58 kB / 0.9584 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.798, allocations: 54.91 kB / 0.9584 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.798, allocations: 1.094 kB / 0.9584 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000224/0.7983, allocations: 84.06 kB / 0.9585 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.7983, allocations: 4.375 kB / 0.9585 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.7983, allocations: 1.375 kB / 0.9585 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.7983, allocations: 0 / 0.9585 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.7984, allocations: 16.39 kB / 0.9585 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.7984, allocations: 3.984 kB / 0.9585 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.888e-05/0.7985, allocations: 14.17 kB / 0.9585 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.7985, allocations: 5.5 kB / 0.9585 GB, free: 4.617 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.0001051/0.7986, allocations: 113.1 kB / 0.9586 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.7987, allocations: 1.5 kB / 0.9586 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.7987, allocations: 7.125 kB / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7987, allocations: 1.469 kB / 0.9587 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.7987, allocations: 0 / 0.9587 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.7987, allocations: 256 / 0.9587 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.7988, allocations: 170.3 kB / 0.9588 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.7989, allocations: 4 kB / 0.9588 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.7989, allocations: 16.92 kB / 0.9588 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.7989, allocations: 0 / 0.9588 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.799, allocations: 1.094 kB / 0.9588 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.799, allocations: 0 / 0.9588 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.799, allocations: 1.469 kB / 0.9588 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.7992, allocations: 185.8 kB / 0.959 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.7992, allocations: 82.89 kB / 0.9591 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.7993, allocations: 0 / 0.9591 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.349e-05/0.7993, allocations: 15.11 kB / 0.9591 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.7994, allocations: 1.781 kB / 0.9591 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.7994, allocations: 5.812 kB / 0.9591 GB, free: 4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.5e-05/0.7994, allocations: 86.86 kB / 0.9592 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7994, allocations: 0 / 0.9592 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000211/0.7996, allocations: 5.406 kB / 0.9592 GB, free: 3.918 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.0004213/0.8001, allocations: 0.7074 MB / 0.9599 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.8003, allocations: 59.89 kB / 0.96 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.8003, allocations: 5.031 kB / 0.96 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.8004, allocations: 30.44 kB / 0.96 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.8007, allocations: 5.719 kB / 0.96 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.8018, allocations: 1.289 MB / 0.9612 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.8019, allocations: 0.6806 MB / 0.9619 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.802, allocations: 2.406 kB / 0.9619 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.802, allocations: 17.64 kB / 0.9619 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.802, allocations: 0 / 0.9619 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01032/0.8124, allocations: 1.25 MB / 0.9632 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/0.8125, allocations: 220.9 kB / 0.9634 GB, free: 432 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.523, allocations: 0 / 0.9634 GB, free: 432 kB / 0.7169 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