Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.001247/0.001247, 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.001184/0.001185, allocations: 196.7 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.178/1.178, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.14/2.14, allocations: 390.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 55.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4901/0.4913, allocations: 140.4 MB / 0.9497 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00444/0.4958, allocations: 4.422 MB / 0.954 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.136/0.6318, allocations: 150.6 MB / 1.101 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007336/0.6326, allocations: 19.88 kB / 1.101 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005371/0.6331, allocations: 170.4 kB / 1.101 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.6348, allocations: 0.5124 MB / 1.102 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.6365, allocations: 0.8305 MB / 1.103 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001249/0.6378, allocations: 1.335 MB / 1.104 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007046/0.6385, allocations: 0.5582 MB / 1.104 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005507/0.6391, allocations: 474.3 kB / 1.105 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005362/0.6396, allocations: 485.9 kB / 1.105 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.6398, allocations: 112 kB / 1.105 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.641, allocations: 0.8465 MB / 1.106 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.6413, allocations: 283.1 kB / 1.107 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000425/0.6417, allocations: 0.5246 MB / 1.107 GB, free: 120 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.6434, allocations: 1.737 MB / 1.109 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6434, allocations: 0 / 1.109 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.163e-06/0.6434, allocations: 4 kB / 1.109 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.267e-05/0.6435, allocations: 0 / 1.109 GB, free: 14.37 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002363/0.6458, allocations: 1.442 MB / 1.11 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.6459, allocations: 12.03 kB / 1.11 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.646, allocations: 118.8 kB / 1.11 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.6471, allocations: 211.4 kB / 1.11 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009039/0.648, allocations: 0.7505 MB / 1.111 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.6481, allocations: 57.98 kB / 1.111 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.125e-05/0.6481, allocations: 72 kB / 1.111 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.6496, allocations: 0.9035 MB / 1.112 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.6496, allocations: 0 / 1.112 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.692e-05/0.6497, allocations: 32 kB / 1.112 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.6497, allocations: 20 kB / 1.112 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.6515, allocations: 1.128 MB / 1.113 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/0.6549, allocations: 2.504 MB / 1.116 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.6564, allocations: 0.8267 MB / 1.117 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006351/0.657, allocations: 334.7 kB / 1.117 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.714e-05/0.6571, allocations: 40.53 kB / 1.117 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009383/0.658, allocations: 0.5186 MB / 1.117 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.124e-06/0.6581, allocations: 0 / 1.117 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003274/0.6613, allocations: 1.289 MB / 1.119 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.6614, allocations: 200.5 kB / 1.119 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006997/0.6621, allocations: 0.6333 MB / 1.12 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/0.6622, allocations: 41.7 kB / 1.12 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.6625, allocations: 388.4 kB / 1.12 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.6627, allocations: 264.2 kB / 1.12 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.6629, allocations: 150.5 kB / 1.12 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.6631, allocations: 398.7 kB / 1.121 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006333/0.6637, allocations: 273.8 kB / 1.121 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007247/0.6644, allocations: 399.4 kB / 1.121 GB, free: 1.039 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.6658, allocations: 0.6432 MB / 1.122 GB, free: 388 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.6658, allocations: 0 / 1.122 GB, free: 388 kB / 0.8731 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002045/0.6678, allocations: 0.8682 MB / 1.123 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.6679, allocations: 8.125 kB / 1.123 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6679, allocations: 0 / 1.123 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005442/0.6684, allocations: 84.72 kB / 1.123 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/0.6691, allocations: 171.8 kB / 1.123 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/0.6709, allocations: 1.646 MB / 1.125 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006482/0.6716, allocations: 97.22 kB / 1.125 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.6717, allocations: 36.05 kB / 1.125 GB, free: 13.32 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.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 (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003262/0.672, allocations: 267.3 kB / 1.125 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.6722, allocations: 86.97 kB / 1.125 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/0.6749, allocations: 1.199 MB / 1.126 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.6749, allocations: 15.94 kB / 1.126 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.6749, allocations: 4 kB / 1.126 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.6749, allocations: 7.922 kB / 1.126 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008913/0.6758, allocations: 0.9266 MB / 1.127 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6758, allocations: 0 / 1.127 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/0.6765, allocations: 159.8 kB / 1.127 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/0.6769, allocations: 72.8 kB / 1.128 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.677, allocations: 27.97 kB / 1.128 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.6786, allocations: 1.674 MB / 1.129 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.6786, allocations: 0 / 1.129 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.6807, allocations: 1.01 MB / 1.13 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003239/0.6811, allocations: 287.7 kB / 1.13 GB, free: 7.332 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.6812, allocations: 16 kB / 1.13 GB, free: 7.316 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000637/0.6818, allocations: 71.91 kB / 1.131 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.682, allocations: 76.89 kB / 1.131 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/0.6821, allocations: 39.98 kB / 1.131 GB, free: 7.133 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004937/0.6826, allocations: 471 kB / 1.131 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6826, allocations: 0 / 1.131 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000662/0.6832, allocations: 311.4 kB / 1.131 GB, free: 6.371 MB / 0.8887 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,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003528/0.6868, allocations: 2.073 MB / 1.133 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002489/0.6893, allocations: 1.081 MB / 1.134 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6893, allocations: 3.938 kB / 1.134 GB, free: 3.352 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009849/0.6903, allocations: 0.5509 MB / 1.135 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.6913, allocations: 306.3 kB / 1.135 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.7021, allocations: 6.71 MB / 1.142 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007261/0.7028, allocations: 1.016 MB / 1.143 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008093/0.7036, allocations: 282.8 kB / 1.143 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005355/0.7042, allocations: 375.3 kB / 1.143 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.7042, allocations: 0 / 1.143 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04511/0.7493, allocations: 21.91 MB / 1.165 GB, free: 4.371 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.98, allocations: 6.094 kB / 1.165 GB, free: 4.367 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_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_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[505]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,weaDatInpCon.HGloHor_in,weaDatInpCon.weaBus.HDifHor,weaDatInpCon.weaBus.HDirNor Variables in the result:time,weaDatInpCon.HDifHor_in,weaDatInpCon.HGloHor_in,weaDatInpCon.weaBus.HDifHor,weaDatInpCon.weaBus.HDirNor,weaDatInpCon.weaBus.HGloHor