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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 198 kB / 16.53 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.672/2.672, allocations: 469.8 MB / 0.7424 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 65.36 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2547, allocations: 159.2 MB / 1.064 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001873/0.2566, allocations: 0.6467 MB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008711/0.2575, allocations: 0.7962 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.692e-05/0.2576, allocations: 0 / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.198e-05/0.2576, allocations: 3.938 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.011e-05/0.2577, allocations: 3.938 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.899e-05/0.2578, allocations: 11.98 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.591e-05/0.2578, allocations: 19.98 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.806e-05/0.2579, allocations: 11.94 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.212e-05/0.258, allocations: 15.92 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.258, allocations: 7.938 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.258, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.2581, allocations: 4 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.2581, allocations: 7.984 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.2581, allocations: 19.86 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.61e-05/0.2582, allocations: 31.89 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2582, allocations: 0 / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2582, allocations: 4 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2582, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 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.0004042/0.2587, allocations: 343.7 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2587, allocations: 8.031 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.396e-05/0.2587, allocations: 30.75 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.993e-05/0.2588, allocations: 8.922 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.2589, allocations: 172.3 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-06/0.2589, allocations: 384 / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.2589, allocations: 384 / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.2591, allocations: 66.17 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2591, allocations: 3.938 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.2591, allocations: 0 / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2591, allocations: 0 / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.2593, allocations: 35.95 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.2597, allocations: 280.9 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.2598, allocations: 38.42 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.223e-05/0.2599, allocations: 20.91 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.662e-06/0.2599, allocations: 0 / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.26, allocations: 34.56 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.26, allocations: 4 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0003105/0.2603, allocations: 73.64 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.2603, allocations: 55.34 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.852e-05/0.2604, allocations: 101.8 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.2604, allocations: 25.7 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.2605, allocations: 96.11 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.2605, allocations: 5.844 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.2605, allocations: 9.719 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2607, allocations: 318.8 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-05/0.2608, allocations: 19.97 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.771e-05/0.2608, allocations: 11.98 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.261, allocations: 36.89 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.261, allocations: 0 / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001862/0.2612, allocations: 69.59 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.2612, allocations: 5.719 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2612, allocations: 0 / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2612, allocations: 0 / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.28e-05/0.2613, allocations: 7.984 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.2613, allocations: 4.031 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.108e-05/0.2614, allocations: 4 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-06/0.2614, allocations: 3.938 kB / 1.067 GB, free: 10.46 MB / 0.8262 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 7.737e-05/0.2614, allocations: 121.8 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.2615, allocations: 3.906 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.584e-05/0.2615, allocations: 7.125 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2615, allocations: 0 / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2615, allocations: 3.984 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.2615, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.2617, allocations: 165.6 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2617, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.918e-05/0.2617, allocations: 8 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.2618, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.2618, allocations: 3.938 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2618, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2618, allocations: 3.984 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.262, allocations: 163.4 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.2621, allocations: 85.34 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.2621, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.2622, allocations: 8 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.2622, allocations: 0 / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.2622, allocations: 3.984 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.2622, allocations: 79.28 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2622, allocations: 0 / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002063/0.2625, allocations: 12.03 kB / 1.068 GB, free: 9.719 MB / 0.8262 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.0005183/0.263, allocations: 0.6889 MB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.2632, allocations: 43.92 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2632, allocations: 0 / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/0.2633, allocations: 15.98 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.2635, allocations: 4 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.2649, allocations: 1.222 MB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.2651, allocations: 0.6768 MB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.756e-05/0.2652, allocations: 4 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.2652, allocations: 15.42 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.2652, allocations: 0 / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.518/0.7833, allocations: 1.268 MB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.46, allocations: 4.938 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB (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 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches