Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008422/0.0008422, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008507/0.0008507, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9187/0.9187, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.681/1.681, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 0 / 0.9505 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.638e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001432/0.001459, allocations: 0.6545 MB / 0.9511 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008035/0.002262, allocations: 0.8159 MB / 0.9519 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.002314, allocations: 0 / 0.9519 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.002425, allocations: 3.938 kB / 0.9519 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.125e-05/0.002446, allocations: 3.938 kB / 0.9519 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.002577, allocations: 7.984 kB / 0.9519 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.485e-05/0.002662, allocations: 23.94 kB / 0.952 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.002827, allocations: 11.97 kB / 0.952 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.002931, allocations: 12 kB / 0.952 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.424e-05/0.002996, allocations: 11.92 kB / 0.952 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.00302, allocations: 4 kB / 0.952 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-06/0.003027, allocations: 4 kB / 0.952 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.003091, allocations: 7.984 kB / 0.952 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.003126, allocations: 4 kB / 0.952 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.003242, allocations: 39.81 kB / 0.9521 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.003246, allocations: 3.938 kB / 0.9521 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.936e-06/0.003249, allocations: 0 / 0.9521 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.003254, allocations: 4 kB / 0.9521 GB, free: 1.918 MB / 0.9011 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.0004648/0.003719, allocations: 270.2 kB / 0.9523 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.003763, allocations: 8.031 kB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.003795, allocations: 34.75 kB / 0.9524 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.003818, allocations: 8.922 kB / 0.9524 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.003942, allocations: 105.8 kB / 0.9525 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.003951, allocations: 4.375 kB / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.003963, allocations: 4.375 kB / 0.9525 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.004118, allocations: 50.23 kB / 0.9525 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.004126, allocations: 4.188 kB / 0.9525 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.004135, allocations: 384 / 0.9525 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.004141, allocations: 8.125 kB / 0.9525 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.639e-05/0.004228, allocations: 43.89 kB / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.004601, allocations: 232 kB / 0.9528 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.15e-05/0.004683, allocations: 34.56 kB / 0.9528 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.696e-05/0.00473, allocations: 28.83 kB / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.004742, allocations: 3.938 kB / 0.9529 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.004764, allocations: 34.56 kB / 0.9529 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 2.034e-06/0.004766, allocations: 0 / 0.9529 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0002197/0.004985, allocations: 77.64 kB / 0.953 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.00502, allocations: 55.34 kB / 0.953 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.745e-05/0.005088, allocations: 101.9 kB / 0.9531 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.005098, allocations: 25.83 kB / 0.9531 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.00514, allocations: 100 kB / 0.9532 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.005157, allocations: 0 / 0.9532 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.005185, allocations: 9.719 kB / 0.9532 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/0.005268, allocations: 318.8 kB / 0.9536 GB, free: 204 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-05/0.005315, allocations: 11.98 kB / 0.9536 GB, free: 192 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.758e-05/0.005352, allocations: 19.92 kB / 0.9536 GB, free: 172 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.005537, allocations: 36.88 kB / 0.9536 GB, free: 132 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.005539, allocations: 0 / 0.9536 GB, free: 132 kB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001122/0.005651, allocations: 69.59 kB / 0.9537 GB, free: 56 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.005665, allocations: 4 kB / 0.9537 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.005671, allocations: 0 / 0.9537 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.005684, allocations: 0 / 0.9537 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.341e-05/0.005748, allocations: 4 kB / 0.9537 GB, free: 48 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.005752, allocations: 0 / 0.9537 GB, free: 48 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.005776, allocations: 15.97 kB / 0.9537 GB, free: 32 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.005781, allocations: 0 / 0.9537 GB, free: 32 kB / 0.9011 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 6.893e-05/0.00585, allocations: 113.8 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.005864, allocations: 11.81 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.005885, allocations: 15.12 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.005888, allocations: 0 / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.005893, allocations: 0 / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.005895, allocations: 0 / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.006001, allocations: 132.7 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.006002, allocations: 0 / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.717e-05/0.006029, allocations: 11.98 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.006031, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.006037, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.006039, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.00604, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.006183, allocations: 163.5 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-06/0.006189, allocations: 0 / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.006199, allocations: 256 / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.546e-05/0.006234, allocations: 11.97 kB / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.006271, allocations: 11.98 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.006274, allocations: 0 / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.718e-05/0.006301, allocations: 83.22 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006301, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00015/0.006451, allocations: 11.95 kB / 0.9542 GB, free: 15.41 MB / 0.9167 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.0003383/0.006789, allocations: 0.689 MB / 0.9549 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.006926, allocations: 35.98 kB / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.006929, allocations: 0 / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/0.006967, allocations: 19.92 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.007245, allocations: 6.188 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009972/0.008242, allocations: 1.226 MB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.443e-05/0.008307, allocations: 67.25 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.994e-05/0.008347, allocations: 7.984 kB / 0.9563 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.008387, allocations: 8.5 kB / 0.9563 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of SimCode: time 1.082e-06/0.008388, allocations: 0 / 0.9563 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.02396, allocations: 1.976 MB / 0.9582 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/6.695, allocations: 0 / 0.9582 GB, free: 11.39 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.762040503323078]