Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007964/0.0007964, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0007621/0.0007621, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9043/0.9043, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.733/1.733, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.296e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001291/0.001314, allocations: 0.6417 MB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007688/0.002082, allocations: 0.8159 MB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/0.002124, allocations: 4 kB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.251e-05/0.002217, allocations: 3.984 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.909e-05/0.002236, allocations: 7.938 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.002344, allocations: 11.92 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.795e-05/0.002412, allocations: 23.92 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.002505, allocations: 7.938 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.941e-05/0.002564, allocations: 11.98 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/0.002611, allocations: 7.984 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.002631, allocations: 4 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.201e-06/0.002638, allocations: 0 / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.002691, allocations: 15.98 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.002717, allocations: 11.94 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.075e-05/0.002798, allocations: 27.94 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.0028, allocations: 0 / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.384e-06/0.002803, allocations: 4 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.002806, allocations: 0 / 1.001 GB, free: 11.89 MB / 0.9636 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.0003263/0.003133, allocations: 266.3 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.003174, allocations: 8.75 kB / 1.001 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.802e-05/0.003202, allocations: 34.69 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.906e-05/0.003221, allocations: 4.938 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.003331, allocations: 125.7 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.003339, allocations: 384 / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.003346, allocations: 384 / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.003482, allocations: 58.23 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.003489, allocations: 192 / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.003496, allocations: 384 / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.003502, allocations: 4.125 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.813e-05/0.00358, allocations: 35.95 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.003856, allocations: 244 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.469e-05/0.003921, allocations: 30.5 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.003963, allocations: 20.91 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.003976, allocations: 4 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.003995, allocations: 38.55 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.021e-06/0.003996, allocations: 0 / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0002844/0.004281, allocations: 81.55 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.00431, allocations: 51.41 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.787e-05/0.004368, allocations: 105.8 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.004377, allocations: 25.7 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.004415, allocations: 84.14 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.004433, allocations: 7.891 kB / 1.002 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.004458, allocations: 17.7 kB / 1.002 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.004532, allocations: 310.8 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.755e-05/0.00458, allocations: 16.11 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.299e-05/0.004613, allocations: 19.98 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.344e-05/0.004686, allocations: 40.75 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.004688, allocations: 0 / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001007/0.004789, allocations: 65.55 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.004805, allocations: 9.719 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.004811, allocations: 8.078 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.004822, allocations: 0 / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.045e-05/0.004883, allocations: 4 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.004887, allocations: 0 / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.00491, allocations: 11.92 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.004915, allocations: 0 / 1.003 GB, free: 9.996 MB / 0.9636 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 5.169e-05/0.004967, allocations: 109.8 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.00498, allocations: 7.938 kB / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.757e-05/0.004998, allocations: 3.156 kB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.005001, allocations: 7.984 kB / 1.003 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.005006, allocations: 4 kB / 1.003 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.005008, allocations: 0 / 1.003 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.005108, allocations: 128.7 kB / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.005109, allocations: 0 / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.00513, allocations: 8 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.005131, allocations: 0 / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.005137, allocations: 0 / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.005138, allocations: 3.984 kB / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005139, allocations: 0 / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.005267, allocations: 167.4 kB / 1.003 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-06/0.005275, allocations: 7.938 kB / 1.003 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.005284, allocations: 0 / 1.003 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.423e-05/0.005318, allocations: 4.25 kB / 1.003 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.005353, allocations: 3.984 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.005356, allocations: 8 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.343e-05/0.00538, allocations: 83.28 kB / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.00538, allocations: 0 / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001399/0.00552, allocations: 4 kB / 1.003 GB, free: 9.383 MB / 0.9636 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.0002827/0.005802, allocations: 0.6975 MB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.005915, allocations: 31.95 kB / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.005918, allocations: 4 kB / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.669e-05/0.005955, allocations: 16.08 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.006185, allocations: 6.234 kB / 1.004 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008421/0.007027, allocations: 1.229 MB / 1.005 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.289e-05/0.00707, allocations: 67.28 kB / 1.005 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.725e-05/0.007097, allocations: 12.02 kB / 1.005 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.007132, allocations: 12.5 kB / 1.005 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of SimCode: time 6.91e-07/0.007133, allocations: 0 / 1.005 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.0223, allocations: 1.967 MB / 1.007 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.476/6.498, allocations: 0 / 1.007 GB, free: 5.352 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.501708826981485]