Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001768/0.001768, allocations: 118.9 kB / 17.17 MB, free: 5.977 MB / 14.72 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.00216/0.00216, allocations: 211.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.606/1.606, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.002/3.002, allocations: 0.49 GB / 0.7923 GB, free: 1.492 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 67.89 kB / 1.15 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9876/0.9899, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001988/0.9919, allocations: 0.6556 MB / 1.322 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008788/0.9927, allocations: 0.8241 MB / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/0.9928, allocations: 0 / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.9929, allocations: 7.125 kB / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.147e-05/0.9929, allocations: 0 / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.993, allocations: 6.953 kB / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.409e-05/0.9931, allocations: 30.67 kB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.9932, allocations: 5.75 kB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.972e-05/0.9933, allocations: 10.47 kB / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.032e-05/0.9933, allocations: 17.64 kB / 1.323 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.9934, allocations: 6.594 kB / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-06/0.9934, allocations: 2.844 kB / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.186e-05/0.9934, allocations: 6.25 kB / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.9935, allocations: 10.81 kB / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.368e-05/0.9936, allocations: 34.25 kB / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.9936, allocations: 3.938 kB / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.634e-06/0.9936, allocations: 0 / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.9936, allocations: 0 / 1.323 GB, free: 23.66 MB / 1.061 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.0004356/0.994, allocations: 347.7 kB / 1.323 GB, free: 23.29 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.9941, allocations: 16.55 kB / 1.323 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.694e-05/0.9941, allocations: 2.906 kB / 1.323 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.262e-05/0.9941, allocations: 34.75 kB / 1.323 GB, free: 23.24 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.392e-05/0.9941, allocations: 7.609 kB / 1.323 GB, free: 23.24 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.9942, allocations: 166.5 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.9943, allocations: 384 / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.9943, allocations: 3.219 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.9945, allocations: 58.11 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.9945, allocations: 3.281 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.9945, allocations: 6.656 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.9945, allocations: 0 / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.9946, allocations: 37.05 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.995, allocations: 279 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.9951, allocations: 37.05 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.054e-05/0.9951, allocations: 22.52 kB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.9952, allocations: 0 / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.9952, allocations: 34.56 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.9952, allocations: 2.5 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0003321/0.9955, allocations: 79.55 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.9955, allocations: 51.41 kB / 1.324 GB, free: 22.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.54e-05/0.9956, allocations: 104 kB / 1.324 GB, free: 22.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.094e-06/0.9956, allocations: 25.7 kB / 1.324 GB, free: 22.38 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/0.9956, allocations: 82.67 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.9957, allocations: 3.953 kB / 1.324 GB, free: 22.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.9957, allocations: 15.59 kB / 1.324 GB, free: 22.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.062e-05/0.9957, allocations: 322.9 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.9958, allocations: 19.98 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.73e-05/0.9959, allocations: 18.62 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.996, allocations: 31.7 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.996, allocations: 0 / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.00017/0.9962, allocations: 70.3 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.9962, allocations: 5.656 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.9962, allocations: 0 / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.9962, allocations: 0 / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.788e-05/0.9963, allocations: 8.953 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.9963, allocations: 3.984 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.306e-05/0.9964, allocations: 6.25 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.9964, allocations: 0 / 1.325 GB, free: 21.89 MB / 1.061 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.996e-05/0.9964, allocations: 126.7 kB / 1.325 GB, free: 21.76 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.9965, allocations: 3.062 kB / 1.325 GB, free: 21.76 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.818e-05/0.9965, allocations: 3.125 kB / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.9965, allocations: 0 / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9965, allocations: 3.375 kB / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.9965, allocations: 0 / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.9966, allocations: 162.8 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9966, allocations: 6.406 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.708e-05/0.9967, allocations: 2.938 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.9967, allocations: 4 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.9967, allocations: 6.906 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.9967, allocations: 0 / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9967, allocations: 3.469 kB / 1.325 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.9969, allocations: 158.2 kB / 1.325 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.361e-05/0.9969, allocations: 77.11 kB / 1.325 GB, free: 21.31 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.9969, allocations: 7.031 kB / 1.325 GB, free: 21.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.997, allocations: 6.812 kB / 1.325 GB, free: 21.31 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.997, allocations: 3.938 kB / 1.325 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.997, allocations: 4 kB / 1.325 GB, free: 21.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.758e-05/0.9971, allocations: 88.42 kB / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9971, allocations: 0 / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000207/0.9973, allocations: 2.844 kB / 1.326 GB, free: 21.22 MB / 1.061 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.0003686/0.9976, allocations: 0.6928 MB / 1.326 GB, free: 20.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.9978, allocations: 25.44 kB / 1.326 GB, free: 20.55 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.9978, allocations: 1.719 kB / 1.326 GB, free: 20.55 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.627e-05/0.9979, allocations: 31.53 kB / 1.326 GB, free: 20.54 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.9982, allocations: 4.281 kB / 1.326 GB, free: 20.54 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.9992, allocations: 1.234 MB / 1.327 GB, free: 19.36 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.9993, allocations: 0.682 MB / 1.328 GB, free: 18.66 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.701e-05/0.9994, allocations: 7.328 kB / 1.328 GB, free: 18.65 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.9994, allocations: 14.5 kB / 1.328 GB, free: 18.64 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.9994, allocations: 0 / 1.328 GB, free: 18.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/1.016, allocations: 1.343 MB / 1.329 GB, free: 18.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.514/9.53, allocations: 8.203 kB / 1.329 GB, free: 18.29 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.30930714501301]