Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002253/0.002253, allocations: 216.8 kB / 22.24 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.081/3.081, allocations: 0.49 GB / 0.7951 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 68.23 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3596, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006746/0.3663, allocations: 4.291 MB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1876/0.5539, allocations: 132.7 MB / 1.46 GB, free: 7.996 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.555, allocations: 23.81 kB / 1.46 GB, free: 7.973 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007028/0.5557, allocations: 194.2 kB / 1.46 GB, free: 7.781 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.5577, allocations: 0.5547 MB / 1.46 GB, free: 7.227 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002367/0.56, allocations: 0.8844 MB / 1.461 GB, free: 6.348 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002135/0.5622, allocations: 1.413 MB / 1.463 GB, free: 4.93 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009292/0.5631, allocations: 372.5 kB / 1.463 GB, free: 4.543 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009838/0.5641, allocations: 498.4 kB / 1.463 GB, free: 4.055 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007349/0.5648, allocations: 0.5095 MB / 1.464 GB, free: 3.543 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.565, allocations: 112 kB / 1.464 GB, free: 3.434 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.5668, allocations: 0.8467 MB / 1.465 GB, free: 2.586 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003499/0.5672, allocations: 299 kB / 1.465 GB, free: 2.293 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000595/0.5678, allocations: 441.8 kB / 1.466 GB, free: 1.859 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002697/0.5705, allocations: 1.853 MB / 1.467 GB, free: 0 / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-05/0.5705, allocations: 80 / 1.467 GB, free: 16 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5705, allocations: 0 / 1.467 GB, free: 16 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.5705, allocations: 4 kB / 1.467 GB, free: 15.99 MB / 1.17 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.002886/0.5734, allocations: 1.458 MB / 1.469 GB, free: 14.5 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.5734, allocations: 12.02 kB / 1.469 GB, free: 14.49 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001582/0.5736, allocations: 122.8 kB / 1.469 GB, free: 14.36 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.5755, allocations: 268 kB / 1.469 GB, free: 14.1 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.5768, allocations: 0.7141 MB / 1.47 GB, free: 13.36 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.577, allocations: 61.98 kB / 1.47 GB, free: 13.3 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.5771, allocations: 72 kB / 1.47 GB, free: 13.23 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.579, allocations: 1.158 MB / 1.471 GB, free: 11.96 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.579, allocations: 0 / 1.471 GB, free: 11.96 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.563e-05/0.5791, allocations: 32 kB / 1.471 GB, free: 11.93 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.5791, allocations: 16 kB / 1.471 GB, free: 11.91 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/0.5813, allocations: 1.089 MB / 1.472 GB, free: 10.82 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004369/0.5856, allocations: 2.217 MB / 1.474 GB, free: 8.543 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.5874, allocations: 0.7878 MB / 1.475 GB, free: 7.746 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006877/0.588, allocations: 306.7 kB / 1.475 GB, free: 7.445 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.099e-05/0.5881, allocations: 24.58 kB / 1.475 GB, free: 7.422 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/0.5893, allocations: 0.6307 MB / 1.476 GB, free: 6.746 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.755e-06/0.5893, allocations: 7.938 kB / 1.476 GB, free: 6.738 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003905/0.5932, allocations: 1.209 MB / 1.477 GB, free: 5.523 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.5934, allocations: 196.6 kB / 1.477 GB, free: 5.285 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009653/0.5943, allocations: 0.6685 MB / 1.478 GB, free: 4.613 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.723e-05/0.5944, allocations: 41.7 kB / 1.478 GB, free: 4.566 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/0.5948, allocations: 393.1 kB / 1.479 GB, free: 4.176 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.595, allocations: 277.7 kB / 1.479 GB, free: 3.902 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/0.5953, allocations: 158.5 kB / 1.479 GB, free: 3.742 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002243/0.5955, allocations: 398.7 kB / 1.479 GB, free: 3.344 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/0.5962, allocations: 277.8 kB / 1.48 GB, free: 3.07 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008902/0.5971, allocations: 0.5116 MB / 1.48 GB, free: 2.5 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.5985, allocations: 0.6432 MB / 1.481 GB, free: 1.844 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.692e-05/0.5985, allocations: 8.062 kB / 1.481 GB, free: 1.836 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002364/0.6009, allocations: 0.8764 MB / 1.482 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.6009, allocations: 4 kB / 1.482 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.6009, allocations: 4 kB / 1.482 GB, free: 0.9414 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006464/0.6015, allocations: 84.84 kB / 1.482 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007779/0.6023, allocations: 171.7 kB / 1.482 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.6046, allocations: 1.535 MB / 1.483 GB, free: 15.03 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007913/0.6054, allocations: 103.5 kB / 1.483 GB, free: 14.93 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.6054, allocations: 31.97 kB / 1.483 GB, free: 14.89 MB / 1.186 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.0004537/0.6059, allocations: 268.3 kB / 1.484 GB, free: 14.62 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.6061, allocations: 91.44 kB / 1.484 GB, free: 14.53 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002934/0.609, allocations: 1.195 MB / 1.485 GB, free: 13.32 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.609, allocations: 16 kB / 1.485 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.609, allocations: 0 / 1.485 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.609, allocations: 7.922 kB / 1.485 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.6101, allocations: 0.7679 MB / 1.486 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6101, allocations: 0 / 1.486 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007721/0.6109, allocations: 159.7 kB / 1.486 GB, free: 12.33 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004775/0.6113, allocations: 76.78 kB / 1.486 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.764e-05/0.6114, allocations: 31.97 kB / 1.486 GB, free: 12.22 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/0.6135, allocations: 1.555 MB / 1.488 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6135, allocations: 0 / 1.488 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.6158, allocations: 1.014 MB / 1.489 GB, free: 9.508 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004898/0.6163, allocations: 219 kB / 1.489 GB, free: 9.293 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.6164, allocations: 16 kB / 1.489 GB, free: 9.277 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006906/0.6171, allocations: 77.47 kB / 1.489 GB, free: 9.203 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.6173, allocations: 76.86 kB / 1.489 GB, free: 9.129 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.903e-05/0.6174, allocations: 39.97 kB / 1.489 GB, free: 9.09 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006452/0.618, allocations: 491 kB / 1.489 GB, free: 8.617 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.618, allocations: 0 / 1.489 GB, free: 8.617 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009105/0.6189, allocations: 335.1 kB / 1.49 GB, free: 8.289 MB / 1.186 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.004648/0.6236, allocations: 2.123 MB / 1.492 GB, free: 6.348 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00203/0.6256, allocations: 0.8392 MB / 1.493 GB, free: 5.496 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.6256, allocations: 7.938 kB / 1.493 GB, free: 5.488 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.6267, allocations: 0.5352 MB / 1.493 GB, free: 4.941 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.6281, allocations: 311.2 kB / 1.493 GB, free: 4.664 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/0.6404, allocations: 6.485 MB / 1.5 GB, free: 14.02 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.6409, allocations: 436.2 kB / 1.5 GB, free: 13.56 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009745/0.6419, allocations: 271.1 kB / 1.5 GB, free: 13.29 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006226/0.6425, allocations: 391.3 kB / 1.501 GB, free: 12.91 MB / 1.201 GB Notification: Performance of SimCode: time 1.132e-06/0.6425, allocations: 0 / 1.501 GB, free: 12.91 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06944/0.712, allocations: 24.75 MB / 1.525 GB, free: 4.445 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.17, allocations: 9.484 kB / 1.525 GB, free: 4.441 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.827458009007387]