Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_9_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.007819/0.007819, allocations: 101.5 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.347/2.347, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002167, allocations: 62.31 kB / 0.9504 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2863, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001936/0.2883, allocations: 0.6462 MB / 1.088 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009097/0.2892, allocations: 0.8004 MB / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.2892, allocations: 0 / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.917e-05/0.2894, allocations: 3.938 kB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 1.863e-05/0.2894, allocations: 3.938 kB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.2895, allocations: 11.98 kB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.772e-05/0.2896, allocations: 15.98 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2897, allocations: 12 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/0.2898, allocations: 15.88 kB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.27e-05/0.2898, allocations: 11.92 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.2899, allocations: 0 / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.2899, allocations: 4 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.2899, allocations: 15.97 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.29, allocations: 7.938 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.411e-05/0.2901, allocations: 27.89 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2901, allocations: 4 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2901, allocations: 4 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.2901, allocations: 0 / 1.089 GB, free: 428 kB / 0.8419 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.0004422/0.2905, allocations: 342.3 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.2906, allocations: 8.031 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.537e-05/0.2906, allocations: 34.75 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.207e-05/0.2907, allocations: 0.9375 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.2908, allocations: 172.9 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.2908, allocations: 384 / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.2909, allocations: 4.375 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.291, allocations: 62.17 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2911, allocations: 11.81 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.2911, allocations: 4 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2911, allocations: 4 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.2913, allocations: 35.95 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.2917, allocations: 281 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.2918, allocations: 30.5 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.444e-05/0.2919, allocations: 24.89 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.2919, allocations: 4 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.2919, allocations: 30.56 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.2919, allocations: 4 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0003188/0.2923, allocations: 73.64 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.2923, allocations: 55.34 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.062e-05/0.2924, allocations: 97.86 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.2924, allocations: 29.7 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.2925, allocations: 92.03 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.2925, allocations: 4.125 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.2925, allocations: 13.72 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.2926, allocations: 314.8 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.061e-05/0.2927, allocations: 15.98 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.999e-05/0.2928, allocations: 15.97 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.2929, allocations: 40.89 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.293, allocations: 0 / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001881/0.2931, allocations: 61.66 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2932, allocations: 7.938 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2932, allocations: 0 / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2932, allocations: 0 / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.869e-05/0.2933, allocations: 4 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2933, allocations: 7.984 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.065e-05/0.2933, allocations: 4.031 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.2933, allocations: 4 kB / 1.091 GB, free: 14.33 MB / 0.8575 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.471e-05/0.2934, allocations: 109.8 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.2935, allocations: 19.88 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.815e-05/0.2935, allocations: 3.125 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2935, allocations: 0 / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2935, allocations: 0 / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2935, allocations: 3.938 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.2937, allocations: 165.6 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2937, allocations: 0 / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.2937, allocations: 7.984 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2937, allocations: 256 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.2937, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2937, allocations: 4 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2937, allocations: 3.938 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.294, allocations: 167.4 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.294, allocations: 81.11 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.294, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.2941, allocations: 7.984 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.2942, allocations: 0 / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.2942, allocations: 0 / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.858e-05/0.2942, allocations: 83.27 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2942, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002119/0.2944, allocations: 4 kB / 1.091 GB, free: 13.59 MB / 0.8575 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.0005005/0.2949, allocations: 0.6967 MB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.2951, allocations: 39.94 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2952, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.2952, allocations: 23.97 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.2955, allocations: 1.406 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.2968, allocations: 1.23 MB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.2971, allocations: 0.6846 MB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.564e-05/0.2971, allocations: 0 / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.2971, allocations: 11.42 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2971, allocations: 0 / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.3139, allocations: 1.304 MB / 1.095 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/8.091, allocations: 12.8 kB / 1.095 GB, free: 9.574 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches