Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_latest_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.00804/0.00804, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.002282/0.002281, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.56/2.56, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 64.12 kB / 1.054 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8766/0.8778, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006773/0.8847, allocations: 4.695 MB / 1.212 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1651/1.05, allocations: 150.6 MB / 1.359 GB, free: 1.625 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007927/1.051, allocations: 15.94 kB / 1.359 GB, free: 1.609 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005989/1.051, allocations: 178.3 kB / 1.359 GB, free: 1.434 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/1.053, allocations: 0.5397 MB / 1.36 GB, free: 0.8945 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/1.055, allocations: 0.8445 MB / 1.36 GB, free: 56 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001559/1.057, allocations: 1.382 MB / 1.362 GB, free: 14.67 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008081/1.057, allocations: 0.5389 MB / 1.362 GB, free: 14.11 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007174/1.058, allocations: 486.3 kB / 1.363 GB, free: 13.63 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006115/1.059, allocations: 489.9 kB / 1.363 GB, free: 13.15 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001519/1.059, allocations: 108 kB / 1.363 GB, free: 13.05 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/1.061, allocations: 0.8777 MB / 1.364 GB, free: 12.17 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002919/1.061, allocations: 287.1 kB / 1.364 GB, free: 11.89 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006339/1.062, allocations: 0.5363 MB / 1.365 GB, free: 11.35 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002598/1.064, allocations: 1.788 MB / 1.367 GB, free: 9.555 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.064, allocations: 3.938 kB / 1.367 GB, free: 9.551 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.793e-06/1.064, allocations: 0 / 1.367 GB, free: 9.551 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.61e-05/1.064, allocations: 0 / 1.367 GB, free: 9.551 MB / 1.092 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.002661/1.067, allocations: 1.454 MB / 1.368 GB, free: 8.043 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.067, allocations: 11.97 kB / 1.368 GB, free: 8.031 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/1.067, allocations: 122.8 kB / 1.368 GB, free: 7.902 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/1.068, allocations: 211.4 kB / 1.368 GB, free: 7.695 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/1.07, allocations: 0.7584 MB / 1.369 GB, free: 6.895 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.322e-05/1.07, allocations: 58 kB / 1.369 GB, free: 6.836 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/1.07, allocations: 72 kB / 1.369 GB, free: 6.766 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/1.071, allocations: 0.8918 MB / 1.37 GB, free: 5.832 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/1.071, allocations: 3.938 kB / 1.37 GB, free: 5.828 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-05/1.071, allocations: 35.98 kB / 1.37 GB, free: 5.793 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/1.071, allocations: 20 kB / 1.37 GB, free: 5.773 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/1.073, allocations: 1.128 MB / 1.371 GB, free: 4.645 MB / 1.092 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.004241/1.078, allocations: 2.585 MB / 1.374 GB, free: 1.965 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/1.079, allocations: 0.8274 MB / 1.375 GB, free: 1.137 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007251/1.08, allocations: 338.6 kB / 1.375 GB, free: 0.8008 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.125e-05/1.08, allocations: 36.53 kB / 1.375 GB, free: 0.7656 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/1.081, allocations: 0.5226 MB / 1.376 GB, free: 232 kB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 4.749e-06/1.081, allocations: 4 kB / 1.376 GB, free: 228 kB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.003813/1.085, allocations: 1.285 MB / 1.377 GB, free: 14.91 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/1.085, allocations: 188.6 kB / 1.377 GB, free: 14.68 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009252/1.086, allocations: 0.6373 MB / 1.378 GB, free: 14.03 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.153e-05/1.086, allocations: 41.7 kB / 1.378 GB, free: 13.98 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/1.087, allocations: 388.3 kB / 1.378 GB, free: 13.6 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/1.087, allocations: 264.2 kB / 1.378 GB, free: 13.34 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/1.087, allocations: 154.5 kB / 1.378 GB, free: 13.18 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002001/1.088, allocations: 398.6 kB / 1.379 GB, free: 12.79 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006762/1.088, allocations: 273.8 kB / 1.379 GB, free: 12.52 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007856/1.089, allocations: 399.3 kB / 1.379 GB, free: 12.1 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/1.09, allocations: 0.6471 MB / 1.38 GB, free: 11.43 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/1.09, allocations: 0 / 1.38 GB, free: 11.43 MB / 1.107 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002368/1.093, allocations: 0.8682 MB / 1.381 GB, free: 10.55 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/1.093, allocations: 5.719 kB / 1.381 GB, free: 10.55 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/1.093, allocations: 4 kB / 1.381 GB, free: 10.55 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/1.093, allocations: 80.91 kB / 1.381 GB, free: 10.46 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/1.094, allocations: 171.8 kB / 1.381 GB, free: 10.3 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/1.096, allocations: 1.657 MB / 1.383 GB, free: 8.496 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008271/1.097, allocations: 95.31 kB / 1.383 GB, free: 8.402 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.172e-05/1.097, allocations: 35.97 kB / 1.383 GB, free: 8.367 MB / 1.107 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.0005001/1.098, allocations: 263.4 kB / 1.383 GB, free: 8.102 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/1.098, allocations: 82.97 kB / 1.383 GB, free: 8.02 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003087/1.101, allocations: 1.202 MB / 1.384 GB, free: 6.809 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/1.101, allocations: 12 kB / 1.384 GB, free: 6.797 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.101, allocations: 4 kB / 1.384 GB, free: 6.793 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/1.101, allocations: 11.91 kB / 1.384 GB, free: 6.781 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/1.103, allocations: 0.919 MB / 1.385 GB, free: 5.809 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/1.103, allocations: 3.984 kB / 1.385 GB, free: 5.805 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/1.103, allocations: 163.8 kB / 1.386 GB, free: 5.645 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004659/1.104, allocations: 72.78 kB / 1.386 GB, free: 5.57 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.709e-05/1.104, allocations: 27.98 kB / 1.386 GB, free: 5.543 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/1.106, allocations: 1.666 MB / 1.387 GB, free: 3.727 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.106, allocations: 4.031 kB / 1.387 GB, free: 3.723 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/1.109, allocations: 1.002 MB / 1.388 GB, free: 2.699 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005399/1.109, allocations: 283.7 kB / 1.389 GB, free: 2.402 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/1.109, allocations: 23.98 kB / 1.389 GB, free: 2.379 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007511/1.11, allocations: 73.95 kB / 1.389 GB, free: 2.309 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/1.11, allocations: 72.89 kB / 1.389 GB, free: 2.238 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.713e-05/1.11, allocations: 39.97 kB / 1.389 GB, free: 2.199 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007224/1.111, allocations: 467 kB / 1.389 GB, free: 1.746 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.3e-07/1.111, allocations: 4 kB / 1.389 GB, free: 1.742 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00102/1.112, allocations: 319.4 kB / 1.389 GB, free: 1.43 MB / 1.107 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.004144/1.116, allocations: 2.074 MB / 1.391 GB, free: 15.5 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002064/1.118, allocations: 0.8665 MB / 1.392 GB, free: 14.62 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.118, allocations: 4 kB / 1.392 GB, free: 14.62 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/1.12, allocations: 0.5587 MB / 1.393 GB, free: 14.05 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/1.121, allocations: 304.5 kB / 1.393 GB, free: 13.78 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/1.132, allocations: 6.363 MB / 1.399 GB, free: 7.258 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/1.133, allocations: 1.012 MB / 1.4 GB, free: 6.219 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009676/1.134, allocations: 278.9 kB / 1.401 GB, free: 5.941 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005825/1.135, allocations: 379.3 kB / 1.401 GB, free: 5.57 MB / 1.123 GB Notification: Performance of SimCode: time 1.282e-06/1.135, allocations: 0 / 1.401 GB, free: 5.57 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05803/1.193, allocations: 22.87 MB / 1.423 GB, free: 15.04 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.91, allocations: 10.45 kB / 1.423 GB, free: 15.04 MB / 1.154 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches