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.01127/0.01127, allocations: 101.5 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.002531/0.002531, allocations: 188.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.415/2.415, allocations: 222.9 MB / 240.4 MB, free: 4.324 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 3.383/3.383, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002881/0.002882, allocations: 65.8 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3399, allocations: 140.4 MB / 1.087 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005954/0.3459, allocations: 4.421 MB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2088/0.5547, allocations: 150.6 MB / 1.239 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009808/0.5558, allocations: 19.94 kB / 1.239 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008126/0.5567, allocations: 170.3 kB / 1.239 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.5588, allocations: 0.5143 MB / 1.239 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.5611, allocations: 0.8324 MB / 1.24 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00197/0.5631, allocations: 1.347 MB / 1.242 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.5643, allocations: 0.5557 MB / 1.242 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.5653, allocations: 482.2 kB / 1.243 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.5663, allocations: 493.9 kB / 1.243 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003965/0.5668, allocations: 108 kB / 1.243 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.5688, allocations: 0.8738 MB / 1.244 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004586/0.5693, allocations: 279.1 kB / 1.244 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007276/0.57, allocations: 0.5285 MB / 1.245 GB, free: 252 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002974/0.573, allocations: 1.777 MB / 1.247 GB, free: 14.46 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.5731, allocations: 0 / 1.247 GB, free: 14.46 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5731, allocations: 0 / 1.247 GB, free: 14.46 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.043e-05/0.5731, allocations: 0 / 1.247 GB, free: 14.46 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.003644/0.5768, allocations: 1.454 MB / 1.248 GB, free: 12.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.5768, allocations: 12.03 kB / 1.248 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002453/0.5771, allocations: 122.8 kB / 1.248 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.5784, allocations: 207.4 kB / 1.248 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.5798, allocations: 0.7622 MB / 1.249 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.926e-05/0.5799, allocations: 58 kB / 1.249 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.58, allocations: 75.98 kB / 1.249 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.5818, allocations: 0.8958 MB / 1.25 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.5819, allocations: 0 / 1.25 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.615e-05/0.582, allocations: 32 kB / 1.25 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.582, allocations: 16 kB / 1.25 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.5842, allocations: 1.135 MB / 1.251 GB, free: 9.559 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004617/0.5888, allocations: 2.468 MB / 1.254 GB, free: 7.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.5906, allocations: 0.8274 MB / 1.254 GB, free: 6.188 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007581/0.5914, allocations: 338.7 kB / 1.255 GB, free: 5.855 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.192e-05/0.5915, allocations: 36.53 kB / 1.255 GB, free: 5.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.5926, allocations: 0.528 MB / 1.255 GB, free: 5.273 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.795e-06/0.5926, allocations: 4 kB / 1.255 GB, free: 5.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003882/0.5965, allocations: 1.287 MB / 1.257 GB, free: 3.953 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.5966, allocations: 192.6 kB / 1.257 GB, free: 3.723 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009363/0.5976, allocations: 0.6333 MB / 1.257 GB, free: 3.082 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.46e-05/0.5977, allocations: 41.7 kB / 1.257 GB, free: 3.035 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.5981, allocations: 380.6 kB / 1.258 GB, free: 2.656 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000322/0.5984, allocations: 272.1 kB / 1.258 GB, free: 2.387 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004028/0.5989, allocations: 154.5 kB / 1.258 GB, free: 2.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002442/0.5991, allocations: 394.7 kB / 1.259 GB, free: 1.836 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.6003, allocations: 273.8 kB / 1.259 GB, free: 1.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.6016, allocations: 399.4 kB / 1.259 GB, free: 1.145 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/0.6038, allocations: 0.647 MB / 1.26 GB, free: 500 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.6039, allocations: 4 kB / 1.26 GB, free: 496 kB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.6021/1.206, allocations: 0.8668 MB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/1.206, allocations: 9.938 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.206, allocations: 3.312 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006515/1.207, allocations: 83.08 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008511/1.208, allocations: 166.3 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/1.21, allocations: 1.646 MB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009999/1.211, allocations: 94.38 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/1.211, allocations: 34.86 kB / 1.263 GB, free: 172 MB / 1.014 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.000512/1.211, allocations: 266.9 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/1.212, allocations: 88.64 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003343/1.215, allocations: 1.199 MB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/1.215, allocations: 9.406 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.215, allocations: 0 / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/1.215, allocations: 5.641 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/1.216, allocations: 0.916 MB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/1.216, allocations: 4.641 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007879/1.217, allocations: 164.5 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005014/1.218, allocations: 77.41 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-05/1.218, allocations: 27.41 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/1.22, allocations: 1.674 MB / 1.267 GB, free: 170 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.22, allocations: 1.453 kB / 1.267 GB, free: 170 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/1.223, allocations: 0.9985 MB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005284/1.223, allocations: 287.9 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/1.223, allocations: 26.09 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007196/1.224, allocations: 76.16 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/1.224, allocations: 70.19 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.466e-05/1.224, allocations: 44.25 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007337/1.225, allocations: 465.1 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.3e-07/1.225, allocations: 4.25 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001206/1.226, allocations: 310.4 kB / 1.269 GB, free: 169.1 MB / 1.014 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.00447/1.231, allocations: 2.081 MB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00264/1.233, allocations: 0.8724 MB / 1.272 GB, free: 167.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/1.233, allocations: 1.031 kB / 1.272 GB, free: 167.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/1.235, allocations: 0.5479 MB / 1.273 GB, free: 167.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/1.237, allocations: 300.3 kB / 1.273 GB, free: 167.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/1.255, allocations: 6.487 MB / 1.279 GB, free: 164.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008371/1.256, allocations: 1.015 MB / 1.28 GB, free: 163.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001257/1.258, allocations: 272.6 kB / 1.28 GB, free: 163.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007094/1.258, allocations: 381.7 kB / 1.281 GB, free: 163.1 MB / 1.014 GB Notification: Performance of SimCode: time 1.172e-06/1.258, allocations: 0 / 1.281 GB, free: 163.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.584/1.842, allocations: 22.57 MB / 1.303 GB, free: 155.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.69/29.54, allocations: 5.062 kB / 1.303 GB, free: 155.4 MB / 1.014 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 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.mat","/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) Reference file matches