Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_10_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.007001/0.007001, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001619/0.001619, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.543/2.543, allocations: 437.1 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 63.91 kB / 1.018 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2763, allocations: 151.6 MB / 1.166 GB, free: 7.438 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006516/0.2829, allocations: 4.684 MB / 1.171 GB, free: 2.723 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7371/1.02, allocations: 150.6 MB / 1.318 GB, free: 10.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008888/1.021, allocations: 22.19 kB / 1.318 GB, free: 10.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008375/1.022, allocations: 184.3 kB / 1.318 GB, free: 10.38 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/1.024, allocations: 0.5318 MB / 1.318 GB, free: 10.15 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/1.026, allocations: 0.8389 MB / 1.319 GB, free: 9.992 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002061/1.028, allocations: 1.396 MB / 1.321 GB, free: 9.746 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/1.029, allocations: 0.5292 MB / 1.321 GB, free: 9.613 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/1.031, allocations: 483 kB / 1.322 GB, free: 9.516 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/1.032, allocations: 0.4893 MB / 1.322 GB, free: 9.383 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004735/1.032, allocations: 109.2 kB / 1.322 GB, free: 9.383 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/1.034, allocations: 0.8723 MB / 1.323 GB, free: 9.336 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005272/1.035, allocations: 282.6 kB / 1.323 GB, free: 9.285 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/1.036, allocations: 0.5319 MB / 1.324 GB, free: 8.926 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003554/1.04, allocations: 1.798 MB / 1.326 GB, free: 8.195 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.04, allocations: 0 / 1.326 GB, free: 8.195 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/1.04, allocations: 0 / 1.326 GB, free: 8.195 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.218e-05/1.04, allocations: 4 kB / 1.326 GB, free: 8.191 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.004259/1.044, allocations: 1.452 MB / 1.327 GB, free: 7.203 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.044, allocations: 13.91 kB / 1.327 GB, free: 7.203 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003512/1.044, allocations: 124.2 kB / 1.327 GB, free: 7.117 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/1.046, allocations: 206.6 kB / 1.327 GB, free: 7.055 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/1.048, allocations: 0.763 MB / 1.328 GB, free: 6.559 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.925e-05/1.048, allocations: 63.36 kB / 1.328 GB, free: 6.531 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/1.048, allocations: 76.5 kB / 1.328 GB, free: 6.504 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/1.05, allocations: 0.8899 MB / 1.329 GB, free: 6.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/1.05, allocations: 0 / 1.329 GB, free: 6.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.05, allocations: 35.81 kB / 1.329 GB, free: 6.062 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/1.05, allocations: 19.28 kB / 1.329 GB, free: 6.062 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/1.052, allocations: 1.121 MB / 1.33 GB, free: 5.816 MB / 1.014 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.004514/1.057, allocations: 2.59 MB / 1.333 GB, free: 4.238 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/1.058, allocations: 0.8372 MB / 1.334 GB, free: 3.914 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006829/1.059, allocations: 330.6 kB / 1.334 GB, free: 3.793 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.659e-05/1.059, allocations: 34.05 kB / 1.334 GB, free: 3.781 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/1.06, allocations: 0.5291 MB / 1.334 GB, free: 3.562 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 3.957e-06/1.06, allocations: 0 / 1.334 GB, free: 3.562 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003636/1.064, allocations: 1.283 MB / 1.336 GB, free: 3.051 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.77e-05/1.064, allocations: 194.5 kB / 1.336 GB, free: 2.824 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/1.065, allocations: 0.6377 MB / 1.337 GB, free: 2.547 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.756e-05/1.065, allocations: 47.23 kB / 1.337 GB, free: 2.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/1.066, allocations: 386 kB / 1.337 GB, free: 2.195 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/1.066, allocations: 263.1 kB / 1.337 GB, free: 1.988 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/1.066, allocations: 156.5 kB / 1.337 GB, free: 1.918 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001738/1.066, allocations: 394.2 kB / 1.338 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006714/1.067, allocations: 279.5 kB / 1.338 GB, free: 1.469 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007977/1.068, allocations: 392.9 kB / 1.338 GB, free: 1.273 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/1.069, allocations: 0.6461 MB / 1.339 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.069, allocations: 0 / 1.339 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00233/1.072, allocations: 0.8709 MB / 1.34 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/1.072, allocations: 4.781 kB / 1.34 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/1.072, allocations: 1.094 kB / 1.34 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/1.072, allocations: 83.7 kB / 1.34 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006965/1.073, allocations: 168.8 kB / 1.34 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/1.075, allocations: 1.652 MB / 1.342 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000841/1.076, allocations: 97.3 kB / 1.342 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.121e-05/1.076, allocations: 32.02 kB / 1.342 GB, free: 15 MB / 1.029 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.0005184/1.076, allocations: 263.3 kB / 1.342 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/1.077, allocations: 88.53 kB / 1.342 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002877/1.08, allocations: 1.203 MB / 1.343 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/1.08, allocations: 10.25 kB / 1.343 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.08, allocations: 0 / 1.343 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/1.08, allocations: 4.266 kB / 1.343 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/1.081, allocations: 0.9253 MB / 1.344 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/1.081, allocations: 1.219 kB / 1.344 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006537/1.082, allocations: 168.6 kB / 1.344 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004174/1.082, allocations: 68.66 kB / 1.344 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.641e-05/1.082, allocations: 28.47 kB / 1.345 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/1.084, allocations: 1.667 MB / 1.346 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.084, allocations: 0 / 1.346 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/1.086, allocations: 1.01 MB / 1.347 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004564/1.087, allocations: 286.8 kB / 1.347 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/1.087, allocations: 21.56 kB / 1.347 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006929/1.087, allocations: 68.22 kB / 1.347 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/1.088, allocations: 81.7 kB / 1.348 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.573e-05/1.088, allocations: 38.67 kB / 1.348 GB, free: 11.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006481/1.088, allocations: 464.8 kB / 1.348 GB, free: 11.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/1.088, allocations: 1.312 kB / 1.348 GB, free: 11.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001073/1.089, allocations: 318.2 kB / 1.348 GB, free: 11.22 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,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.003829/1.093, allocations: 2.081 MB / 1.35 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001939/1.095, allocations: 0.8677 MB / 1.351 GB, free: 9.742 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.095, allocations: 5.062 kB / 1.351 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/1.096, allocations: 0.5648 MB / 1.352 GB, free: 9.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/1.098, allocations: 303.2 kB / 1.352 GB, free: 9.375 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.109, allocations: 6.355 MB / 1.358 GB, free: 5.906 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/1.11, allocations: 1.02 MB / 1.359 GB, free: 5.066 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001013/1.111, allocations: 273.5 kB / 1.36 GB, free: 4.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006033/1.111, allocations: 379.1 kB / 1.36 GB, free: 4.633 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/1.111, allocations: 0 / 1.36 GB, free: 4.633 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04936/1.161, allocations: 22.44 MB / 1.382 GB, free: 7.605 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.48, allocations: 14.31 kB / 1.382 GB, free: 7.594 MB / 1.045 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches