Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Outside_CpData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",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.00832/0.008321, allocations: 102.9 kB / 15.73 MB, free: 6.035 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.001815/0.001816, allocations: 196.5 kB / 16.68 MB, free: 5.957 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.177/2.177, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.91 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7944/0.7957, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2002/0.9959, allocations: 167.2 MB / 1.251 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02239/1.018, allocations: 17.2 MB / 1.268 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/1.021, allocations: 31.81 kB / 1.268 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001838/1.022, allocations: 0.5274 MB / 1.268 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005297/1.028, allocations: 1.678 MB / 1.27 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003613/1.031, allocations: 1.429 MB / 1.271 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003494/1.035, allocations: 2.665 MB / 1.274 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002559/1.038, allocations: 2.006 MB / 1.276 GB, free: 12.97 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003896/1.041, allocations: 1.397 MB / 1.277 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/1.043, allocations: 1.081 MB / 1.278 GB, free: 10.52 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003182/1.043, allocations: 220 kB / 1.278 GB, free: 10.31 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003135/1.046, allocations: 1.552 MB / 1.28 GB, free: 8.754 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007173/1.047, allocations: 0.7946 MB / 1.281 GB, free: 7.957 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/1.048, allocations: 1.236 MB / 1.282 GB, free: 6.715 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005293/1.054, allocations: 3.66 MB / 1.285 GB, free: 3.043 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.054, allocations: 0 / 1.285 GB, free: 3.043 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.435e-06/1.054, allocations: 0 / 1.285 GB, free: 3.043 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.947e-05/1.054, allocations: 0 / 1.285 GB, free: 3.043 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005227/1.059, allocations: 2.877 MB / 1.288 GB, free: 100 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/1.059, allocations: 12.03 kB / 1.288 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002927/1.059, allocations: 252.9 kB / 1.288 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003642/1.063, allocations: 0.5628 MB / 1.289 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004421/1.068, allocations: 3.421 MB / 1.292 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/1.068, allocations: 131.4 kB / 1.292 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002353/1.068, allocations: 164 kB / 1.293 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003403/1.071, allocations: 1.945 MB / 1.294 GB, free: 9.504 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/1.071, allocations: 0 / 1.294 GB, free: 9.504 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/1.072, allocations: 76 kB / 1.295 GB, free: 9.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/1.072, allocations: 40 kB / 1.295 GB, free: 9.391 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003478/1.075, allocations: 2.093 MB / 1.297 GB, free: 7.293 MB / 1.029 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.009473/1.085, allocations: 6.168 MB / 1.303 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003292/1.088, allocations: 2.095 MB / 1.305 GB, free: 14.69 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/1.089, allocations: 0.7613 MB / 1.305 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006005/1.09, allocations: 437.5 kB / 1.306 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001764/1.092, allocations: 0.9972 MB / 1.307 GB, free: 12.41 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 3.537e-06/1.092, allocations: 0 / 1.307 GB, free: 12.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=146): time 0.006809/1.098, allocations: 2.965 MB / 1.31 GB, free: 9.328 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/1.099, allocations: 197.2 kB / 1.31 GB, free: 9.094 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004861/1.103, allocations: 4.056 MB / 1.314 GB, free: 5.031 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003954/1.104, allocations: 61.7 kB / 1.314 GB, free: 4.965 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008792/1.105, allocations: 0.8866 MB / 1.315 GB, free: 4.066 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005396/1.105, allocations: 477 kB / 1.315 GB, free: 3.594 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004034/1.106, allocations: 242.8 kB / 1.316 GB, free: 3.348 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.106, allocations: 357.9 kB / 1.316 GB, free: 2.992 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/1.107, allocations: 0.5648 MB / 1.316 GB, free: 2.43 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/1.108, allocations: 0.797 MB / 1.317 GB, free: 1.566 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/1.111, allocations: 1.31 MB / 1.318 GB, free: 256 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.111, allocations: 0 / 1.318 GB, free: 256 kB / 1.045 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004139/1.115, allocations: 1.775 MB / 1.32 GB, free: 14.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/1.115, allocations: 11.92 kB / 1.32 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.115, allocations: 4 kB / 1.32 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/1.116, allocations: 216.2 kB / 1.32 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/1.117, allocations: 319.6 kB / 1.321 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006099/1.124, allocations: 7.32 MB / 1.328 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/1.125, allocations: 154.8 kB / 1.328 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/1.126, allocations: 51.97 kB / 1.328 GB, free: 5.668 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001078/1.127, allocations: 494.8 kB / 1.329 GB, free: 5.176 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005383/1.127, allocations: 193.6 kB / 1.329 GB, free: 4.984 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004418/1.132, allocations: 2.137 MB / 1.331 GB, free: 2.816 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/1.132, allocations: 16 kB / 1.331 GB, free: 2.801 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/1.132, allocations: 4 kB / 1.331 GB, free: 2.797 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/1.132, allocations: 7.969 kB / 1.331 GB, free: 2.789 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007174/1.139, allocations: 4.099 MB / 1.335 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/1.139, allocations: 0 / 1.335 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/1.14, allocations: 319.5 kB / 1.335 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008897/1.141, allocations: 204.1 kB / 1.335 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/1.141, allocations: 39.97 kB / 1.335 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006101/1.148, allocations: 7.359 MB / 1.343 GB, free: 5.977 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.148, allocations: 0 / 1.343 GB, free: 5.977 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004512/1.152, allocations: 1.997 MB / 1.345 GB, free: 3.945 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/1.153, allocations: 0.5099 MB / 1.345 GB, free: 3.414 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003041/1.154, allocations: 28 kB / 1.345 GB, free: 3.387 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.155, allocations: 106.5 kB / 1.345 GB, free: 3.285 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/1.155, allocations: 113.2 kB / 1.345 GB, free: 3.172 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001543/1.155, allocations: 79.94 kB / 1.345 GB, free: 3.094 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003767/1.159, allocations: 3.112 MB / 1.348 GB, free: 15.98 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.7e-07/1.159, allocations: 0 / 1.348 GB, free: 15.98 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001996/1.161, allocations: 0.6663 MB / 1.349 GB, free: 15.32 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00602/1.167, allocations: 3.203 MB / 1.352 GB, free: 12.27 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003599/1.171, allocations: 2.055 MB / 1.354 GB, free: 10.15 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/1.171, allocations: 4.562 kB / 1.354 GB, free: 10.14 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002089/1.173, allocations: 1.422 MB / 1.356 GB, free: 8.66 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/1.176, allocations: 0.5248 MB / 1.356 GB, free: 8.156 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03051/1.206, allocations: 20.87 MB / 1.376 GB, free: 3.051 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/1.207, allocations: 1.529 MB / 1.378 GB, free: 1.492 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.00185/1.209, allocations: 0.5443 MB / 1.378 GB, free: 0.9414 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/1.21, allocations: 0.8936 MB / 1.379 GB, free: 48 kB / 1.107 GB Notification: Performance of SimCode: time 6.31e-07/1.21, allocations: 0 / 1.379 GB, free: 48 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1484/1.359, allocations: 49.01 MB / 1.427 GB, free: 15.55 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/16.65, allocations: 9.812 kB / 1.427 GB, free: 15.54 MB / 1.17 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches