Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_T",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.001002/0.001002, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.007587/0.007587, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.355/1.355, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 390.9 MB / 0.6664 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003094, allocations: 12.28 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5546/0.555, allocations: 142.4 MB / 0.9552 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1961/0.7511, allocations: 189.3 MB / 1.14 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01178/0.7629, allocations: 9.915 MB / 1.15 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000922/0.7639, allocations: 23.81 kB / 1.15 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.7649, allocations: 313.9 kB / 1.15 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002668/0.7676, allocations: 0.9725 MB / 1.151 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002965/0.7705, allocations: 1.181 MB / 1.152 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00251/0.7731, allocations: 2.341 MB / 1.154 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.7742, allocations: 0.7106 MB / 1.155 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002658/0.7768, allocations: 1.292 MB / 1.156 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007822/0.7776, allocations: 0.5289 MB / 1.157 GB, free: 0 / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.7778, allocations: 36.05 kB / 1.157 GB, free: 15.96 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.7803, allocations: 1.644 MB / 1.159 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003738/0.7807, allocations: 315.1 kB / 1.159 GB, free: 14.01 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.7812, allocations: 423.5 kB / 1.159 GB, free: 13.59 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.7834, allocations: 1.561 MB / 1.161 GB, free: 12.02 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.7834, allocations: 0 / 1.161 GB, free: 12.02 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7834, allocations: 0 / 1.161 GB, free: 12.02 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.077e-05/0.7835, allocations: 0 / 1.161 GB, free: 12.02 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001514/0.785, allocations: 0.9821 MB / 1.162 GB, free: 10.99 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.785, allocations: 8.031 kB / 1.162 GB, free: 10.98 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/0.7852, allocations: 122.6 kB / 1.162 GB, free: 10.85 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.787, allocations: 290.6 kB / 1.162 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.7882, allocations: 0.5349 MB / 1.163 GB, free: 9.992 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-05/0.7883, allocations: 61.98 kB / 1.163 GB, free: 9.93 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.7884, allocations: 76 kB / 1.163 GB, free: 9.855 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.7899, allocations: 0.8986 MB / 1.164 GB, free: 8.898 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.7899, allocations: 0 / 1.164 GB, free: 8.898 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.327e-05/0.79, allocations: 32 kB / 1.164 GB, free: 8.867 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.518e-05/0.79, allocations: 41.3 kB / 1.164 GB, free: 8.828 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.7911, allocations: 0.5866 MB / 1.164 GB, free: 8.238 MB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.7946, allocations: 3.509 MB / 1.168 GB, free: 4.535 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.795, allocations: 225.1 kB / 1.168 GB, free: 4.289 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.7952, allocations: 154.8 kB / 1.168 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007954/0.796, allocations: 0.4896 MB / 1.169 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.7961, allocations: 46.45 kB / 1.169 GB, free: 3.492 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 1.422e-06/0.7961, allocations: 0 / 1.169 GB, free: 3.492 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.00123/0.7973, allocations: 470.2 kB / 1.169 GB, free: 3.027 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.7974, allocations: 106.8 kB / 1.169 GB, free: 2.898 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.7985, allocations: 0.8683 MB / 1.17 GB, free: 2.016 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.7985, allocations: 33.7 kB / 1.17 GB, free: 1.977 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.7988, allocations: 379.8 kB / 1.17 GB, free: 1.602 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.101e-05/0.7989, allocations: 74.92 kB / 1.171 GB, free: 1.527 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.799, allocations: 25.72 kB / 1.171 GB, free: 1.496 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.7991, allocations: 329.9 kB / 1.171 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.7993, allocations: 107.8 kB / 1.171 GB, free: 1.062 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.7996, allocations: 219.6 kB / 1.171 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000527/0.8002, allocations: 325.2 kB / 1.171 GB, free: 464 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.8002, allocations: 0 / 1.171 GB, free: 464 kB / 0.92 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007714/0.801, allocations: 408.2 kB / 1.172 GB, free: 48 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.801, allocations: 8 kB / 1.172 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.801, allocations: 4 kB / 1.172 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.801, allocations: 7.938 kB / 1.172 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.8014, allocations: 64.31 kB / 1.172 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.8014, allocations: 11.92 kB / 1.172 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.8019, allocations: 94.94 kB / 1.172 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.8019, allocations: 16 kB / 1.172 GB, free: 15.84 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.0002784/0.8022, allocations: 237.6 kB / 1.172 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.8023, allocations: 75.06 kB / 1.172 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006553/0.803, allocations: 328.8 kB / 1.173 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.803, allocations: 4 kB / 1.173 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.803, allocations: 4 kB / 1.173 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.803, allocations: 0 / 1.173 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.8053, allocations: 1.381 MB / 1.174 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.8053, allocations: 4 kB / 1.174 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.8055, allocations: 51.91 kB / 1.174 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.8055, allocations: 8.469 kB / 1.174 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.8056, allocations: 8 kB / 1.174 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.8056, allocations: 8 kB / 1.174 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.8056, allocations: 7.938 kB / 1.174 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006729/0.8063, allocations: 0.526 MB / 1.175 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.8065, allocations: 188.1 kB / 1.175 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.076e-05/0.8066, allocations: 19.92 kB / 1.175 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/0.807, allocations: 23.98 kB / 1.175 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.8071, allocations: 31.84 kB / 1.175 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.8071, allocations: 16 kB / 1.175 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007498/0.8079, allocations: 0.6083 MB / 1.175 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8079, allocations: 4 kB / 1.175 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005713/0.8084, allocations: 159.8 kB / 1.176 GB, free: 11.96 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.00125/0.8097, allocations: 1.167 MB / 1.177 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000584/0.8103, allocations: 264.3 kB / 1.177 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8103, allocations: 0 / 1.177 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002761/0.8106, allocations: 137.2 kB / 1.177 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/0.813, allocations: 410.1 kB / 1.178 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00848/0.8215, allocations: 6.503 MB / 1.184 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005804/0.8221, allocations: 0.9881 MB / 1.185 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0006216/0.8227, allocations: 166.2 kB / 1.185 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/0.8231, allocations: 271.3 kB / 1.185 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of SimCode: time 9.22e-07/0.8231, allocations: 3.938 kB / 1.185 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5202/1.343, allocations: 19.66 MB / 1.204 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/1.344, allocations: 244.1 kB / 1.205 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/3.543, allocations: 0 / 1.205 GB, free: 14.12 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches