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.001289/0.001289, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001426/0.001426, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.279/1.279, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.549/2.549, allocations: 461.9 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 70.02 kB / 0.8985 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2807, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001894/0.2827, allocations: 0.7076 MB / 1.053 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008592/0.2836, allocations: 0.8001 MB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.076e-05/0.2836, allocations: 0 / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.4e-05/0.2837, allocations: 15.94 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.471e-05/0.2838, allocations: 0 / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.431e-05/0.2839, allocations: 0 / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.065e-05/0.2839, allocations: 27.92 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.15e-05/0.284, allocations: 0 / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.6e-05/0.2841, allocations: 15.92 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.024e-05/0.2841, allocations: 11.94 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.2842, allocations: 0 / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.2842, allocations: 4 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.2842, allocations: 7.984 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.2843, allocations: 11.94 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.004e-05/0.2843, allocations: 31.88 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2843, allocations: 0 / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.51e-07/0.2844, allocations: 0 / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.2844, allocations: 0 / 1.054 GB, free: 6.582 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.0004226/0.2848, allocations: 343.7 kB / 1.054 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.2848, allocations: 11.97 kB / 1.054 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.795e-05/0.2849, allocations: 38.73 kB / 1.054 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.233e-05/0.2849, allocations: 8.938 kB / 1.054 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.2851, allocations: 164.3 kB / 1.054 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.2851, allocations: 4.375 kB / 1.054 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.2851, allocations: 384 / 1.054 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.2853, allocations: 58.23 kB / 1.054 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2853, allocations: 3.938 kB / 1.054 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2853, allocations: 3.984 kB / 1.054 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2853, allocations: 3.938 kB / 1.054 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.2855, allocations: 35.97 kB / 1.054 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.2859, allocations: 280.8 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.286, allocations: 38.53 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.487e-05/0.2861, allocations: 24.84 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.976e-06/0.2861, allocations: 0 / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.2862, allocations: 30.56 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.2862, allocations: 4 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0003273/0.2865, allocations: 77.58 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.2866, allocations: 59.53 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.554e-05/0.2866, allocations: 105.8 kB / 1.055 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.2867, allocations: 25.7 kB / 1.055 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.2867, allocations: 91.98 kB / 1.055 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.2867, allocations: 0 / 1.055 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.2868, allocations: 13.72 kB / 1.055 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.2869, allocations: 318.8 kB / 1.055 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.941e-05/0.287, allocations: 15.97 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.472e-05/0.287, allocations: 19.98 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.2872, allocations: 32.83 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2872, allocations: 0 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000174/0.2874, allocations: 61.59 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2874, allocations: 12.09 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2874, allocations: 0 / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2874, allocations: 0 / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.37e-05/0.2875, allocations: 11.98 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.2875, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.2876, allocations: 4 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.2876, allocations: 3.984 kB / 1.056 GB, free: 4.477 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.31e-05/0.2877, allocations: 113.8 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.2877, allocations: 3.906 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.676e-05/0.2877, allocations: 7.125 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2877, allocations: 4 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2877, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.2877, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.2879, allocations: 165.6 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2879, allocations: 0 / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.243e-05/0.288, allocations: 8 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.288, allocations: 3.984 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.288, allocations: 0 / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.288, allocations: 3.938 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.288, allocations: 7.938 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.2882, allocations: 151.5 kB / 1.056 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/0.2883, allocations: 89.03 kB / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.2883, allocations: 0 / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.978e-05/0.2884, allocations: 4 kB / 1.056 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.2884, allocations: 8.016 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.2884, allocations: 256 / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.914e-05/0.2885, allocations: 87.28 kB / 1.056 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2885, allocations: 0 / 1.056 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002064/0.2887, allocations: 4 kB / 1.056 GB, free: 3.738 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.0004779/0.2892, allocations: 0.6967 MB / 1.057 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.2894, allocations: 35.95 kB / 1.057 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2894, allocations: 0 / 1.057 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.244e-05/0.2895, allocations: 11.98 kB / 1.057 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.2897, allocations: 8.156 kB / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.291, allocations: 1.227 MB / 1.058 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.2912, allocations: 0.677 MB / 1.059 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.869e-05/0.2913, allocations: 15.95 kB / 1.059 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.2913, allocations: 11.38 kB / 1.059 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.2913, allocations: 0 / 1.059 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01006/0.3014, allocations: 1.104 MB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/0.3016, allocations: 234.9 kB / 1.06 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/1.939, allocations: 1.125 kB / 1.06 GB, free: 15.69 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