Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.IntegerScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",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.001464/0.001464, allocations: 108 kB / 15.6 MB, free: 132 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.001446/0.001446, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.703/2.703, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 68.39 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2782, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001994/0.2803, allocations: 0.664 MB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009641/0.2812, allocations: 0.8291 MB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.145e-05/0.2813, allocations: 0 / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.406e-05/0.2814, allocations: 7.938 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.753e-05/0.2814, allocations: 3.938 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.2816, allocations: 23.92 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.085e-05/0.2817, allocations: 39.91 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.434e-05/0.2818, allocations: 7.984 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.606e-05/0.2818, allocations: 11.94 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.2819, allocations: 15.92 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.2819, allocations: 4 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.2819, allocations: 4 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.282, allocations: 11.98 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.282, allocations: 23.86 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.013e-05/0.2821, allocations: 35.88 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2821, allocations: 4 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2821, allocations: 0 / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.2821, allocations: 0 / 1.066 GB, free: 12.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004658/0.2826, allocations: 343.7 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2826, allocations: 8.031 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.2827, allocations: 42.67 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.2827, allocations: 8.938 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.2829, allocations: 172.3 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.2829, allocations: 8.375 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.2829, allocations: 384 / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.2831, allocations: 66.22 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2831, allocations: 3.938 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.2831, allocations: 4 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2831, allocations: 3.984 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.2833, allocations: 43.94 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.2837, allocations: 284.7 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.2839, allocations: 38.55 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.215e-05/0.284, allocations: 24.91 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.284, allocations: 4 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.284, allocations: 38.5 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.284, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003598/0.2844, allocations: 85.55 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.2844, allocations: 55.39 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.991e-05/0.2845, allocations: 109.9 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.2846, allocations: 29.7 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.2846, allocations: 84.12 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.2846, allocations: 7.906 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.2847, allocations: 17.72 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2848, allocations: 314.8 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.299e-05/0.2849, allocations: 19.97 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.481e-05/0.285, allocations: 23.92 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.2852, allocations: 44.81 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2852, allocations: 3.938 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002064/0.2854, allocations: 65.66 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2854, allocations: 9.719 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2854, allocations: 96 / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2855, allocations: 4 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.301e-05/0.2856, allocations: 7.984 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.2856, allocations: 4 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.2856, allocations: 3.984 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.2856, allocations: 4 kB / 1.068 GB, free: 10.32 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001178/0.2858, allocations: 113.8 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.2858, allocations: 11.84 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.2858, allocations: 7.125 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2858, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2858, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.2858, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.286, allocations: 169.8 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.286, allocations: 4 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.2861, allocations: 11.98 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2861, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.2861, allocations: 3.938 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2861, allocations: 0 / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2861, allocations: 4 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.2864, allocations: 171.4 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.2865, allocations: 77.11 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.2865, allocations: 0 / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.971e-05/0.2866, allocations: 7.984 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.2866, allocations: 8 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.2866, allocations: 8.016 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.871e-05/0.2867, allocations: 91.2 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2867, allocations: 0 / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002123/0.2869, allocations: 11.91 kB / 1.068 GB, free: 9.539 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005907/0.2875, allocations: 0.6968 MB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.2877, allocations: 39.95 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2877, allocations: 0 / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.409e-05/0.2878, allocations: 27.91 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.2881, allocations: 4 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.2895, allocations: 1.261 MB / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.2898, allocations: 0.6807 MB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.524e-05/0.2899, allocations: 8.031 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.2899, allocations: 15.42 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.2899, allocations: 0 / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03466/0.3246, allocations: 1.502 MB / 1.072 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.374, allocations: 8.812 kB / 1.072 GB, free: 5.285 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches