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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009703/0.0009705, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006048/0.006048, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.72/2.72, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 12.77 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2669, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.0009243/0.2678, allocations: 387.2 kB / 1.059 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2689, allocations: 0.7962 MB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.2689, allocations: 0 / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.799e-05/0.269, allocations: 4 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.949e-05/0.2691, allocations: 11.88 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.2692, allocations: 7.984 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.08e-05/0.2693, allocations: 19.92 kB / 1.06 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.2694, allocations: 8 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.438e-05/0.2694, allocations: 7.938 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.2695, allocations: 11.98 kB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.2695, allocations: 3.984 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-06/0.2695, allocations: 3.938 kB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.2696, allocations: 11.98 kB / 1.06 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.2696, allocations: 37.64 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.2697, allocations: 23.89 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2698, allocations: 0 / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.345e-06/0.2698, allocations: 0 / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2698, allocations: 0 / 1.06 GB, free: 3.574 MB / 0.8106 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.0004869/0.2703, allocations: 339.8 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.2703, allocations: 15.97 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.2704, allocations: 34.75 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.417e-05/0.2704, allocations: 8.844 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.2706, allocations: 168.4 kB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-06/0.2706, allocations: 384 / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.2706, allocations: 8.312 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.2708, allocations: 62.23 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2708, allocations: 3.938 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.2708, allocations: 4 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2708, allocations: 4 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.271, allocations: 47.95 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.2715, allocations: 284.8 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.2716, allocations: 38.55 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.832e-05/0.2717, allocations: 28.91 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.2717, allocations: 0 / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.2717, allocations: 38.5 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.2718, allocations: 0 / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0003419/0.2721, allocations: 97.58 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.2721, allocations: 51.41 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.135e-05/0.2722, allocations: 97.86 kB / 1.061 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.2723, allocations: 29.7 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.2723, allocations: 88.19 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.2723, allocations: 7.906 kB / 1.061 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.2724, allocations: 13.72 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2725, allocations: 318.8 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.468e-05/0.2726, allocations: 15.98 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.037e-05/0.2726, allocations: 27.97 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.2728, allocations: 48.77 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2728, allocations: 0 / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002154/0.273, allocations: 77.66 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2731, allocations: 4 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2731, allocations: 0 / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2731, allocations: 0 / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.2732, allocations: 15.98 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2732, allocations: 32 / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.2733, allocations: 12 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.2733, allocations: 0 / 1.062 GB, free: 1.387 MB / 0.8106 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.741e-05/0.2734, allocations: 109.8 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.2734, allocations: 7.984 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.915e-05/0.2734, allocations: 3.125 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2734, allocations: 0 / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2734, allocations: 0 / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2735, allocations: 4 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.2736, allocations: 165.6 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2736, allocations: 0 / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.783e-05/0.2737, allocations: 11.98 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2737, allocations: 0 / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-06/0.2737, allocations: 0 / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2737, allocations: 0 / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2737, allocations: 0 / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.274, allocations: 183.2 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.2741, allocations: 77.36 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.2741, allocations: 0 / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/0.2742, allocations: 20.02 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.2743, allocations: 0 / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.2743, allocations: 3.984 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.927e-05/0.2743, allocations: 87.27 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2743, allocations: 0 / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002118/0.2745, allocations: 4 kB / 1.063 GB, free: 0.6328 MB / 0.8106 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.0005796/0.2751, allocations: 0.7046 MB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002107/0.2753, allocations: 44 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.2754, allocations: 4 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-05/0.2755, allocations: 19.97 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.2758, allocations: 4 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.2773, allocations: 1.264 MB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.2776, allocations: 0.677 MB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.59e-05/0.2777, allocations: 4 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.2777, allocations: 7.438 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of SimCode: time 6.11e-07/0.2777, allocations: 0 / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01108/0.2888, allocations: 1.047 MB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/0.2891, allocations: 236 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/1.982, allocations: 0 / 1.067 GB, free: 12.63 MB / 0.8262 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 & /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 --timeout=50 --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) 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/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