Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 110.4 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 443.5 MB / 0.7287 GB, free: 13.2 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.89 kB / 1.056 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9848/0.9868, allocations: 160.7 MB / 1.213 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002051/0.9888, allocations: 0.6574 MB / 1.214 GB, free: 3.352 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.9899, allocations: 0.7891 MB / 1.214 GB, free: 2.707 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.9899, allocations: 0 / 1.214 GB, free: 2.707 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.99, allocations: 1.062 kB / 1.214 GB, free: 2.707 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.163e-05/0.9901, allocations: 7.938 kB / 1.214 GB, free: 2.699 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.9902, allocations: 10.36 kB / 1.214 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.531e-05/0.9903, allocations: 28.73 kB / 1.214 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.9904, allocations: 7.172 kB / 1.214 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.9904, allocations: 15.08 kB / 1.214 GB, free: 2.656 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.399e-05/0.9905, allocations: 11.3 kB / 1.214 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.9905, allocations: 2.375 kB / 1.214 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.667e-06/0.9905, allocations: 2.125 kB / 1.214 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.002e-05/0.9906, allocations: 7.219 kB / 1.214 GB, free: 2.645 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.9906, allocations: 14 kB / 1.214 GB, free: 2.633 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.224e-05/0.9907, allocations: 26.52 kB / 1.214 GB, free: 2.613 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.9907, allocations: 4 kB / 1.214 GB, free: 2.609 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.056e-06/0.9907, allocations: 0.75 kB / 1.214 GB, free: 2.609 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.9907, allocations: 0 / 1.214 GB, free: 2.609 MB / 0.92 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.0005263/0.9913, allocations: 344.9 kB / 1.215 GB, free: 2.238 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.9913, allocations: 10.42 kB / 1.215 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.501e-05/0.9914, allocations: 43.73 kB / 1.215 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.9914, allocations: 7.141 kB / 1.215 GB, free: 2.184 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.9916, allocations: 167.6 kB / 1.215 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.9916, allocations: 5.344 kB / 1.215 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.9916, allocations: 1.25 kB / 1.215 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.9918, allocations: 64.97 kB / 1.215 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.9918, allocations: 3.938 kB / 1.215 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.9918, allocations: 1.125 kB / 1.215 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.9918, allocations: 1.125 kB / 1.215 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.992, allocations: 31.41 kB / 1.215 GB, free: 1.91 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.9924, allocations: 293.9 kB / 1.215 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.9925, allocations: 35.75 kB / 1.215 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.9926, allocations: 17.78 kB / 1.215 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.9926, allocations: 1.062 kB / 1.215 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.9926, allocations: 34.56 kB / 1.215 GB, free: 1.504 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.9926, allocations: 5.062 kB / 1.215 GB, free: 1.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0003345/0.993, allocations: 81.02 kB / 1.216 GB, free: 1.441 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.993, allocations: 51.41 kB / 1.216 GB, free: 1.379 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.9931, allocations: 104.1 kB / 1.216 GB, free: 1.273 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.9931, allocations: 26.77 kB / 1.216 GB, free: 1.242 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.9932, allocations: 89.31 kB / 1.216 GB, free: 1.152 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.9932, allocations: 1.25 kB / 1.216 GB, free: 1.152 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.9932, allocations: 11.62 kB / 1.216 GB, free: 1.137 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.9934, allocations: 323.7 kB / 1.216 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.809e-05/0.9935, allocations: 12.42 kB / 1.216 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/0.9935, allocations: 16.98 kB / 1.216 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.9937, allocations: 37.42 kB / 1.216 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9937, allocations: 0.7188 kB / 1.216 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001843/0.9939, allocations: 62.5 kB / 1.216 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.9939, allocations: 4.406 kB / 1.216 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9939, allocations: 0.7188 kB / 1.216 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.9939, allocations: 0.7188 kB / 1.216 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.217e-05/0.994, allocations: 12.23 kB / 1.216 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.994, allocations: 1.062 kB / 1.216 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.9941, allocations: 7.828 kB / 1.216 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.9941, allocations: 0 / 1.216 GB, free: 0.7188 MB / 0.92 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 8.305e-05/0.9941, allocations: 116.2 kB / 1.216 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.9942, allocations: 5.453 kB / 1.216 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.082e-05/0.9942, allocations: 4 kB / 1.216 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.9942, allocations: 0 / 1.216 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.9942, allocations: 4.625 kB / 1.216 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.9942, allocations: 4.938 kB / 1.216 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.9944, allocations: 163 kB / 1.217 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.9944, allocations: 1.094 kB / 1.217 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.326e-05/0.9944, allocations: 16.3 kB / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.9944, allocations: 0 / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.9944, allocations: 1.375 kB / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9944, allocations: 0 / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.9944, allocations: 4.969 kB / 1.217 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.9947, allocations: 160.5 kB / 1.217 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.9947, allocations: 78.14 kB / 1.217 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.9947, allocations: 4.906 kB / 1.217 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.9948, allocations: 3.406 kB / 1.217 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.9948, allocations: 5.141 kB / 1.217 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.9948, allocations: 0 / 1.217 GB, free: 108 kB / 0.92 GB Notification: Performance of sorting global known variables: time 4.481e-05/0.9949, allocations: 83.81 kB / 1.217 GB, free: 28 kB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.9949, allocations: 4.031 kB / 1.217 GB, free: 24 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002066/0.9951, allocations: 4.312 kB / 1.217 GB, free: 24 kB / 0.92 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.0006269/0.9957, allocations: 0.6956 MB / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.9959, allocations: 34.95 kB / 1.218 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.9959, allocations: 1.094 kB / 1.218 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.626e-05/0.996, allocations: 17.42 kB / 1.218 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.9963, allocations: 4.312 kB / 1.218 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.9978, allocations: 1.233 MB / 1.219 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.9981, allocations: 0.6783 MB / 1.22 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.181e-05/0.9981, allocations: 6.547 kB / 1.22 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/0.9982, allocations: 12.28 kB / 1.22 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.9982, allocations: 0 / 1.22 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/1.023, allocations: 1.298 MB / 1.221 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/9.105, allocations: 25.02 kB / 1.221 GB, free: 12.66 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.036748859100044]