Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",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.008269/0.008269, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.00179/0.001791, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.276/2.276, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.91 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9194/0.9208, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.2047/1.126, allocations: 154 MB / 1.238 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01578/1.141, allocations: 10.49 MB / 1.248 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/1.143, allocations: 22.44 kB / 1.248 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/1.144, allocations: 267.1 kB / 1.248 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003358/1.147, allocations: 0.9263 MB / 1.249 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003208/1.15, allocations: 1.077 MB / 1.25 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002698/1.153, allocations: 1.647 MB / 1.252 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/1.155, allocations: 1.181 MB / 1.253 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/1.157, allocations: 0.7092 MB / 1.254 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009481/1.158, allocations: 0.6067 MB / 1.254 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002827/1.158, allocations: 136 kB / 1.255 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/1.161, allocations: 1.034 MB / 1.256 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004641/1.161, allocations: 378.8 kB / 1.256 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009259/1.162, allocations: 0.6684 MB / 1.257 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004399/1.166, allocations: 2.204 MB / 1.259 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.167, allocations: 0 / 1.259 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/1.167, allocations: 0 / 1.259 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.342e-05/1.167, allocations: 0 / 1.259 GB, free: 14.39 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004297/1.171, allocations: 1.721 MB / 1.26 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/1.171, allocations: 8.031 kB / 1.26 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/1.171, allocations: 156.1 kB / 1.261 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/1.173, allocations: 274.1 kB / 1.261 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/1.175, allocations: 1.077 MB / 1.262 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.069e-05/1.175, allocations: 74 kB / 1.262 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/1.175, allocations: 91.94 kB / 1.262 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/1.177, allocations: 1.114 MB / 1.263 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/1.177, allocations: 7.938 kB / 1.263 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/1.177, allocations: 40 kB / 1.263 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/1.177, allocations: 28 kB / 1.263 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/1.18, allocations: 1.315 MB / 1.264 GB, free: 8.348 MB / 0.9981 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.005927/1.186, allocations: 3.245 MB / 1.268 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002273/1.188, allocations: 1.114 MB / 1.269 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008322/1.189, allocations: 416.8 kB / 1.269 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/1.189, allocations: 149.8 kB / 1.269 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/1.191, allocations: 0.6138 MB / 1.27 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 4.268e-06/1.191, allocations: 0 / 1.27 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.004678/1.195, allocations: 1.631 MB / 1.271 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/1.195, allocations: 196.9 kB / 1.272 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/1.197, allocations: 1.025 MB / 1.273 GB, free: 15.69 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001755/1.197, allocations: 45.69 kB / 1.273 GB, free: 15.64 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004476/1.198, allocations: 476.4 kB / 1.273 GB, free: 15.17 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004526/1.198, allocations: 311.5 kB / 1.273 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003434/1.198, allocations: 166.5 kB / 1.274 GB, free: 14.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.199, allocations: 337.9 kB / 1.274 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007598/1.199, allocations: 329.8 kB / 1.274 GB, free: 14.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008862/1.2, allocations: 473.1 kB / 1.275 GB, free: 13.54 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/1.202, allocations: 0.7687 MB / 1.275 GB, free: 12.76 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.202, allocations: 0 / 1.275 GB, free: 12.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002682/1.205, allocations: 1.033 MB / 1.276 GB, free: 11.71 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/1.205, allocations: 4 kB / 1.276 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.205, allocations: 4 kB / 1.276 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007943/1.205, allocations: 113.7 kB / 1.277 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009764/1.206, allocations: 203.7 kB / 1.277 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003628/1.21, allocations: 3.064 MB / 1.28 GB, free: 8.039 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/1.211, allocations: 119.2 kB / 1.28 GB, free: 7.922 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/1.212, allocations: 31.98 kB / 1.28 GB, free: 7.891 MB / 1.014 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007186/1.212, allocations: 314 kB / 1.28 GB, free: 7.574 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003414/1.213, allocations: 98.78 kB / 1.28 GB, free: 7.477 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/1.216, allocations: 1.318 MB / 1.282 GB, free: 6.141 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/1.216, allocations: 11.94 kB / 1.282 GB, free: 6.129 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/1.216, allocations: 8 kB / 1.282 GB, free: 6.121 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/1.216, allocations: 3.984 kB / 1.282 GB, free: 6.117 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005206/1.221, allocations: 2.439 MB / 1.284 GB, free: 3.613 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/1.221, allocations: 0 / 1.284 GB, free: 3.613 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000852/1.222, allocations: 191.8 kB / 1.284 GB, free: 3.426 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006269/1.223, allocations: 109.5 kB / 1.284 GB, free: 3.312 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/1.223, allocations: 35.98 kB / 1.284 GB, free: 3.277 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00318/1.226, allocations: 3.084 MB / 1.287 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.226, allocations: 0 / 1.287 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/1.229, allocations: 1.237 MB / 1.289 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008529/1.23, allocations: 327.3 kB / 1.289 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002665/1.23, allocations: 16 kB / 1.289 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009593/1.231, allocations: 82.55 kB / 1.289 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002084/1.232, allocations: 88.81 kB / 1.289 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/1.232, allocations: 39.97 kB / 1.289 GB, free: 14.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001035/1.233, allocations: 0.7489 MB / 1.29 GB, free: 13.35 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.233, allocations: 0 / 1.29 GB, free: 13.35 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001481/1.234, allocations: 431.2 kB / 1.29 GB, free: 12.93 MB / 1.029 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.004776/1.239, allocations: 2.403 MB / 1.293 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00239/1.241, allocations: 1.111 MB / 1.294 GB, free: 9.543 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.241, allocations: 0 / 1.294 GB, free: 9.543 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/1.243, allocations: 0.7372 MB / 1.294 GB, free: 8.781 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/1.245, allocations: 365.4 kB / 1.295 GB, free: 8.449 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/1.261, allocations: 8.443 MB / 1.303 GB, free: 15.86 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009401/1.262, allocations: 1.103 MB / 1.304 GB, free: 14.72 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001294/1.264, allocations: 315.7 kB / 1.304 GB, free: 14.41 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008366/1.265, allocations: 463.2 kB / 1.305 GB, free: 13.95 MB / 1.045 GB Notification: Performance of SimCode: time 7.21e-07/1.265, allocations: 3.938 kB / 1.305 GB, free: 13.95 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08387/1.348, allocations: 28.33 MB / 1.332 GB, free: 1.973 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/15.29, allocations: 34.62 kB / 1.332 GB, free: 1.945 MB / 1.061 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches