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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00851/0.00851, allocations: 104 kB / 15.74 MB, free: 6.02 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.001481/0.001481, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 482.4 MB / 0.7548 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 65.12 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2867, allocations: 162.2 MB / 1.241 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001728/0.2885, allocations: 0.6528 MB / 1.242 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009154/0.2894, allocations: 0.7926 MB / 1.243 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.2894, allocations: 0 / 1.243 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.378e-05/0.2895, allocations: 3.984 kB / 1.243 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 1.699e-05/0.2896, allocations: 3.938 kB / 1.243 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.9e-05/0.2897, allocations: 8 kB / 1.243 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.428e-05/0.2897, allocations: 27.92 kB / 1.243 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.42e-05/0.2898, allocations: 7.984 kB / 1.243 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.192e-05/0.2899, allocations: 8 kB / 1.243 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/0.2899, allocations: 19.91 kB / 1.243 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.29, allocations: 3.938 kB / 1.243 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-06/0.29, allocations: 4 kB / 1.243 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.089e-05/0.29, allocations: 0 / 1.243 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.2901, allocations: 19.86 kB / 1.243 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.11e-05/0.2901, allocations: 32.12 kB / 1.243 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2901, allocations: 3.984 kB / 1.243 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2902, allocations: 4 kB / 1.243 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.2902, allocations: 0 / 1.243 GB, free: 7.84 MB / 0.9669 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.0004621/0.2906, allocations: 339.5 kB / 1.243 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2907, allocations: 8.031 kB / 1.243 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.2907, allocations: 30.75 kB / 1.243 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.187e-05/0.2907, allocations: 8.891 kB / 1.243 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.2909, allocations: 180.2 kB / 1.244 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.2909, allocations: 384 / 1.244 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.2909, allocations: 8.359 kB / 1.244 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.2911, allocations: 58.23 kB / 1.244 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2911, allocations: 3.938 kB / 1.244 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.2912, allocations: 0 / 1.244 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2912, allocations: 0 / 1.244 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.2913, allocations: 35.95 kB / 1.244 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.2917, allocations: 280.8 kB / 1.244 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.2919, allocations: 30.56 kB / 1.244 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.707e-05/0.292, allocations: 20.91 kB / 1.244 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.292, allocations: 0 / 1.244 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.292, allocations: 30.56 kB / 1.244 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.292, allocations: 8 kB / 1.244 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0003327/0.2924, allocations: 73.58 kB / 1.244 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.2924, allocations: 55.41 kB / 1.244 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.056e-05/0.2925, allocations: 101.8 kB / 1.244 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.2925, allocations: 25.7 kB / 1.244 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.2926, allocations: 92.09 kB / 1.244 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.2926, allocations: 8.062 kB / 1.244 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.2926, allocations: 13.7 kB / 1.244 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2928, allocations: 322.8 kB / 1.245 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-05/0.2929, allocations: 12.23 kB / 1.245 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.293, allocations: 11.98 kB / 1.245 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.2931, allocations: 44.88 kB / 1.245 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2931, allocations: 0 / 1.245 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002007/0.2933, allocations: 61.61 kB / 1.245 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2934, allocations: 8 kB / 1.245 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-06/0.2934, allocations: 0 / 1.245 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2934, allocations: 7.922 kB / 1.245 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.309e-05/0.2935, allocations: 4 kB / 1.245 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.2935, allocations: 0 / 1.245 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.2935, allocations: 12.02 kB / 1.245 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.2935, allocations: 0 / 1.245 GB, free: 5.746 MB / 0.9669 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 8.283e-05/0.2936, allocations: 118.3 kB / 1.245 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.2937, allocations: 3.953 kB / 1.245 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.368e-05/0.2937, allocations: 3.125 kB / 1.245 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2937, allocations: 4 kB / 1.245 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2937, allocations: 3.984 kB / 1.245 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2937, allocations: 0 / 1.245 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.2939, allocations: 165.6 kB / 1.245 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2939, allocations: 0 / 1.245 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.489e-05/0.2939, allocations: 11.98 kB / 1.245 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.294, allocations: 0 / 1.245 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.294, allocations: 0 / 1.245 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.294, allocations: 0 / 1.245 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.294, allocations: 3.938 kB / 1.245 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.2942, allocations: 163.5 kB / 1.245 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.2943, allocations: 81.11 kB / 1.245 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-06/0.2943, allocations: 0 / 1.245 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.2944, allocations: 7.984 kB / 1.245 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.2944, allocations: 0 / 1.245 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.2944, allocations: 0 / 1.245 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.2945, allocations: 83.28 kB / 1.245 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.084e-06/0.2945, allocations: 0 / 1.245 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002176/0.2947, allocations: 11.91 kB / 1.245 GB, free: 5.008 MB / 0.9669 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.0005886/0.2953, allocations: 0.7006 MB / 1.246 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.2955, allocations: 36 kB / 1.246 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2955, allocations: 0 / 1.246 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.498e-05/0.2956, allocations: 15.98 kB / 1.246 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.2959, allocations: 8.172 kB / 1.246 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.2973, allocations: 1.229 MB / 1.247 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.2977, allocations: 0.6807 MB / 1.248 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.881e-05/0.2977, allocations: 7.875 kB / 1.248 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.2977, allocations: 11.44 kB / 1.248 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.2977, allocations: 0 / 1.248 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.3195, allocations: 1.311 MB / 1.249 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/8.042, allocations: 3.25 kB / 1.249 GB, free: 1.016 MB / 0.9669 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches