Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.RealScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",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.007206/0.007206, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001629/0.001629, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.151/2.151, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.46/3.46, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 67.89 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582/1.584, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002376/1.586, allocations: 0.6394 MB / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001282/1.587, allocations: 0.7877 MB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/1.587, allocations: 1.188 kB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/1.587, allocations: 8.453 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.582e-05/1.588, allocations: 1.844 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/1.588, allocations: 7.516 kB / 1.089 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.265e-05/1.588, allocations: 29.69 kB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/1.588, allocations: 4.219 kB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.694e-05/1.588, allocations: 9.656 kB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.161e-05/1.588, allocations: 17.62 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/1.588, allocations: 2.281 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/1.588, allocations: 2.562 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.318e-05/1.588, allocations: 14.16 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.34e-05/1.588, allocations: 10.92 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/1.588, allocations: 28.77 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/1.588, allocations: 5.797 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.446e-06/1.588, allocations: 0 / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.301e-05/1.588, allocations: 0 / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005981/1.589, allocations: 341.1 kB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/1.589, allocations: 10.22 kB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/1.589, allocations: 36.5 kB / 1.089 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/1.589, allocations: 6.312 kB / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/1.589, allocations: 171.4 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/1.589, allocations: 384 / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/1.589, allocations: 7.438 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/1.59, allocations: 52.25 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.59, allocations: 3.938 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/1.59, allocations: 1.719 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/1.59, allocations: 4.656 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002477/1.59, allocations: 46.69 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/1.591, allocations: 274.4 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/1.591, allocations: 33.11 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/1.591, allocations: 19.44 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/1.591, allocations: 12.48 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/1.591, allocations: 30.56 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 2.104e-06/1.591, allocations: 1.969 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0005604/1.592, allocations: 75.69 kB / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/1.592, allocations: 52.66 kB / 1.09 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/1.592, allocations: 106.6 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/1.592, allocations: 25.7 kB / 1.09 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/1.592, allocations: 88.12 kB / 1.09 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/1.592, allocations: 3.984 kB / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/1.592, allocations: 15.59 kB / 1.09 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001915/1.592, allocations: 317.2 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/1.592, allocations: 13.16 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/1.592, allocations: 25.84 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/1.593, allocations: 35.88 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.593, allocations: 0.7031 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002969/1.593, allocations: 60.62 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/1.593, allocations: 9.531 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/1.593, allocations: 5.438 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/1.593, allocations: 0 / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/1.593, allocations: 7.594 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/1.593, allocations: 0 / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.189e-05/1.593, allocations: 7.125 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/1.593, allocations: 3.984 kB / 1.091 GB, free: 2.426 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001066/1.594, allocations: 113.7 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/1.594, allocations: 9.328 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.898e-05/1.594, allocations: 8.578 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.594, allocations: 3.984 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.594, allocations: 1.547 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/1.594, allocations: 0 / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/1.594, allocations: 166.1 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.594, allocations: 0 / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.809e-05/1.594, allocations: 7.5 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.594, allocations: 1.188 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/1.594, allocations: 0 / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/1.594, allocations: 2.359 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.594, allocations: 4 kB / 1.091 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/1.595, allocations: 155.5 kB / 1.091 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/1.595, allocations: 83.41 kB / 1.091 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/1.595, allocations: 0.7969 kB / 1.091 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/1.595, allocations: 5.984 kB / 1.091 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/1.595, allocations: 5.609 kB / 1.091 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-06/1.595, allocations: 1.938 kB / 1.091 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.455e-05/1.595, allocations: 92 kB / 1.091 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/1.595, allocations: 0 / 1.091 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004101/1.595, allocations: 9.25 kB / 1.091 GB, free: 1.758 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0007923/1.596, allocations: 0.6958 MB / 1.092 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003544/1.597, allocations: 37.48 kB / 1.092 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.597, allocations: 0 / 1.092 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/1.597, allocations: 18.42 kB / 1.092 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/1.597, allocations: 3.141 kB / 1.092 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/1.6, allocations: 1.223 MB / 1.093 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/1.6, allocations: 0.6783 MB / 1.094 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.173e-05/1.6, allocations: 4.188 kB / 1.094 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/1.6, allocations: 12.23 kB / 1.094 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of SimCode: time 7.91e-07/1.6, allocations: 4.031 kB / 1.094 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/1.629, allocations: 1.29 MB / 1.095 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/13.43, allocations: 9.141 kB / 1.095 GB, free: 14.83 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches