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.001659/0.001659, allocations: 108 kB / 15.61 MB, free: 152 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.001913/0.001913, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.292/2.292, allocations: 390.3 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 0.8126 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5361/0.5375, allocations: 140.4 MB / 0.9497 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1586/0.6962, allocations: 154 MB / 1.1 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01417/0.7104, allocations: 10.48 MB / 1.11 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008057/0.7112, allocations: 23.88 kB / 1.11 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009576/0.7122, allocations: 261.8 kB / 1.111 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.7151, allocations: 0.9344 MB / 1.112 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.7177, allocations: 1.067 MB / 1.113 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001798/0.7195, allocations: 1.644 MB / 1.114 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.7212, allocations: 1.173 MB / 1.115 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/0.723, allocations: 0.7083 MB / 1.116 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008432/0.7239, allocations: 0.601 MB / 1.117 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002948/0.7242, allocations: 136 kB / 1.117 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.7261, allocations: 1.003 MB / 1.118 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003996/0.7265, allocations: 382.8 kB / 1.118 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007637/0.7273, allocations: 0.6607 MB / 1.119 GB, free: 4.18 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002894/0.7302, allocations: 2.158 MB / 1.121 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7302, allocations: 0 / 1.121 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7302, allocations: 0 / 1.121 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.952e-05/0.7303, allocations: 0 / 1.121 GB, free: 2.016 MB / 0.8731 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.0039/0.7342, allocations: 1.726 MB / 1.123 GB, free: 236 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.7342, allocations: 15.97 kB / 1.123 GB, free: 220 kB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002855/0.7345, allocations: 148.1 kB / 1.123 GB, free: 64 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/0.7364, allocations: 270.1 kB / 1.123 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.7379, allocations: 1.054 MB / 1.124 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/0.738, allocations: 70 kB / 1.124 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.7382, allocations: 96 kB / 1.124 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.7402, allocations: 1.11 MB / 1.125 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.7402, allocations: 0 / 1.125 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.7403, allocations: 48 kB / 1.125 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.7404, allocations: 27.94 kB / 1.125 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.7427, allocations: 1.311 MB / 1.127 GB, free: 12 MB / 0.8887 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.005184/0.7479, allocations: 3.28 MB / 1.13 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.7499, allocations: 1.106 MB / 1.131 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007713/0.7507, allocations: 427.5 kB / 1.131 GB, free: 7.055 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002385/0.751, allocations: 138 kB / 1.131 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/0.7521, allocations: 0.6178 MB / 1.132 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=95): time 2.394e-06/0.7521, allocations: 0 / 1.132 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of matching and sorting (n=95): time 0.004363/0.7565, allocations: 1.631 MB / 1.134 GB, free: 4.586 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/0.7566, allocations: 196.9 kB / 1.134 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.7579, allocations: 1.025 MB / 1.135 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-05/0.758, allocations: 49.7 kB / 1.135 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/0.7584, allocations: 476.4 kB / 1.135 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.7586, allocations: 299.6 kB / 1.136 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/0.7589, allocations: 170.5 kB / 1.136 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.7591, allocations: 337.9 kB / 1.136 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007534/0.7598, allocations: 337.8 kB / 1.136 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008594/0.7607, allocations: 477.1 kB / 1.137 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.7622, allocations: 0.7647 MB / 1.138 GB, free: 388 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.7622, allocations: 0 / 1.138 GB, free: 388 kB / 0.8887 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002617/0.7649, allocations: 1.041 MB / 1.139 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.7649, allocations: 8 kB / 1.139 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.7649, allocations: 0 / 1.139 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000778/0.7657, allocations: 117.7 kB / 1.139 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009253/0.7666, allocations: 203.7 kB / 1.139 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003341/0.77, allocations: 3.057 MB / 1.142 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009042/0.7709, allocations: 111.1 kB / 1.142 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-05/0.771, allocations: 35.98 kB / 1.142 GB, free: 11.5 MB / 0.9044 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.0005707/0.7716, allocations: 309.6 kB / 1.142 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/0.7718, allocations: 102.8 kB / 1.142 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/0.775, allocations: 1.326 MB / 1.144 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.775, allocations: 12 kB / 1.144 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/0.7751, allocations: 0 / 1.144 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.7751, allocations: 3.984 kB / 1.144 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004465/0.7795, allocations: 2.457 MB / 1.146 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.7796, allocations: 0 / 1.146 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000851/0.7804, allocations: 187.8 kB / 1.146 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005832/0.781, allocations: 117.4 kB / 1.146 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.683e-05/0.7811, allocations: 23.98 kB / 1.146 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002936/0.784, allocations: 3.088 MB / 1.149 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7841, allocations: 0 / 1.149 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.7867, allocations: 1.235 MB / 1.151 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004737/0.7872, allocations: 319.4 kB / 1.151 GB, free: 1.918 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.7874, allocations: 24 kB / 1.151 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008808/0.7883, allocations: 82.22 kB / 1.151 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.7884, allocations: 84.81 kB / 1.151 GB, free: 1.734 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.453e-05/0.7885, allocations: 43.97 kB / 1.151 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009039/0.7895, allocations: 0.745 MB / 1.152 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7895, allocations: 0 / 1.152 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001148/0.7906, allocations: 443.1 kB / 1.152 GB, free: 0.5156 MB / 0.9044 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.004444/0.7951, allocations: 2.4 MB / 1.155 GB, free: 14.27 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003063/0.7981, allocations: 1.357 MB / 1.156 GB, free: 12.89 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7982, allocations: 0 / 1.156 GB, free: 12.89 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.7994, allocations: 0.741 MB / 1.157 GB, free: 12.12 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.8009, allocations: 349.2 kB / 1.157 GB, free: 11.8 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/0.8154, allocations: 8.789 MB / 1.166 GB, free: 2.762 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006807/0.8161, allocations: 1.103 MB / 1.167 GB, free: 1.625 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001056/0.8172, allocations: 315.8 kB / 1.167 GB, free: 1.312 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006445/0.8178, allocations: 471.2 kB / 1.167 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of SimCode: time 5.21e-07/0.8178, allocations: 0 / 1.167 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05765/0.8755, allocations: 27.57 MB / 1.194 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.82, allocations: 11.88 kB / 1.194 GB, free: 5.617 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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.csv","/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) "Warning: Resultfile and Reference have different end time points! Reffile[502]=86400.000000 File[27]=1002.240000 Error: Could not read variable winDir.y in file Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv. Warning: Get data of variable winDir.y from file Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv failed! Error: Could not read variable weaDat.winSpe in file Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv. Warning: Get data of variable weaDat.winSpe from file Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv failed! " Variables in the reference:time,winDir.y,nor.pWin,weaDat.winSpe Variables in the result:time,nor.CpAct,nor.alpha,nor.pWin,weaDat.weaBus.HDifHor,weaDat.weaBus.HDirNor