Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_11_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.001582/0.001583, allocations: 112.5 kB / 15.73 MB, free: 76 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.00151/0.00151, allocations: 189.9 kB / 16.67 MB, free: 6.582 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.818/2.818, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 64.25 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2652, allocations: 159.1 MB / 1.22 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00631/0.2715, allocations: 4.685 MB / 1.225 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.648/0.9196, allocations: 150.6 MB / 1.372 GB, free: 11.27 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000655/0.9203, allocations: 16.62 kB / 1.372 GB, free: 11.26 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005976/0.9209, allocations: 184.5 kB / 1.372 GB, free: 11.14 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.9225, allocations: 0.532 MB / 1.372 GB, free: 10.83 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.9244, allocations: 0.8394 MB / 1.373 GB, free: 10.4 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.926, allocations: 1.38 MB / 1.375 GB, free: 9.695 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007909/0.9268, allocations: 0.5352 MB / 1.375 GB, free: 9.414 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00069/0.9275, allocations: 483.8 kB / 1.376 GB, free: 9.176 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007306/0.9282, allocations: 490.7 kB / 1.376 GB, free: 8.93 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.9284, allocations: 110.4 kB / 1.376 GB, free: 8.93 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.9298, allocations: 0.8766 MB / 1.377 GB, free: 8.695 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003083/0.9302, allocations: 290.6 kB / 1.377 GB, free: 8.512 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000632/0.9308, allocations: 0.5226 MB / 1.378 GB, free: 8.16 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.933, allocations: 1.807 MB / 1.38 GB, free: 7.141 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.933, allocations: 0 / 1.38 GB, free: 7.141 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.466e-06/0.9331, allocations: 0 / 1.38 GB, free: 7.141 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.441e-05/0.9331, allocations: 4.781 kB / 1.38 GB, free: 7.137 MB / 1.076 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.003019/0.9361, allocations: 1.487 MB / 1.381 GB, free: 5.953 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.9362, allocations: 8.844 kB / 1.381 GB, free: 5.953 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001781/0.9363, allocations: 122 kB / 1.381 GB, free: 5.852 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.9376, allocations: 218.1 kB / 1.381 GB, free: 5.742 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.9388, allocations: 0.7691 MB / 1.382 GB, free: 5.109 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/0.9389, allocations: 57.59 kB / 1.382 GB, free: 5.086 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.939, allocations: 76.05 kB / 1.382 GB, free: 5.059 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.9407, allocations: 0.9019 MB / 1.383 GB, free: 4.461 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.9408, allocations: 3.938 kB / 1.383 GB, free: 4.457 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.453e-05/0.9409, allocations: 32.53 kB / 1.383 GB, free: 4.434 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.9409, allocations: 17.84 kB / 1.383 GB, free: 4.434 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.943, allocations: 1.127 MB / 1.384 GB, free: 3.895 MB / 1.076 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.004008/0.947, allocations: 2.591 MB / 1.387 GB, free: 1.828 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.9487, allocations: 0.8349 MB / 1.388 GB, free: 1.406 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007398/0.9495, allocations: 330.6 kB / 1.388 GB, free: 1.242 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-05/0.9496, allocations: 35.12 kB / 1.388 GB, free: 1.219 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.9507, allocations: 0.5294 MB / 1.389 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.164e-06/0.9507, allocations: 0 / 1.389 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of matching and sorting (n=82): time 0.003697/0.9544, allocations: 1.288 MB / 1.39 GB, free: 188 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.9545, allocations: 197.7 kB / 1.39 GB, free: 15.96 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007783/0.9553, allocations: 0.636 MB / 1.391 GB, free: 15.59 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.917e-05/0.9554, allocations: 46.81 kB / 1.391 GB, free: 15.55 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.9557, allocations: 382.6 kB / 1.391 GB, free: 15.21 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.956, allocations: 277.8 kB / 1.391 GB, free: 14.97 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.9562, allocations: 151.1 kB / 1.391 GB, free: 14.88 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.9564, allocations: 401.7 kB / 1.392 GB, free: 14.5 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006892/0.9571, allocations: 280.6 kB / 1.392 GB, free: 14.36 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008276/0.9579, allocations: 403.1 kB / 1.392 GB, free: 14.1 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.9595, allocations: 0.6427 MB / 1.393 GB, free: 13.75 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.9595, allocations: 0 / 1.393 GB, free: 13.75 MB / 1.092 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002291/0.9618, allocations: 0.8693 MB / 1.394 GB, free: 13.3 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.9618, allocations: 5.344 kB / 1.394 GB, free: 13.3 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.9618, allocations: 5.281 kB / 1.394 GB, free: 13.3 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006032/0.9624, allocations: 85.45 kB / 1.394 GB, free: 13.26 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/0.9631, allocations: 169.1 kB / 1.394 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.9653, allocations: 1.646 MB / 1.396 GB, free: 11.6 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007203/0.9661, allocations: 95.67 kB / 1.396 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.553e-05/0.9661, allocations: 41.48 kB / 1.396 GB, free: 11.52 MB / 1.092 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.0003728/0.9665, allocations: 260.2 kB / 1.396 GB, free: 11.31 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.9667, allocations: 96.22 kB / 1.396 GB, free: 11.26 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002975/0.9697, allocations: 1.2 MB / 1.397 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.9697, allocations: 12.73 kB / 1.397 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.9697, allocations: 1 kB / 1.397 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.9697, allocations: 3.984 kB / 1.397 GB, free: 10.58 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.9708, allocations: 0.9181 MB / 1.398 GB, free: 9.879 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.9708, allocations: 5.375 kB / 1.398 GB, free: 9.875 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/0.9715, allocations: 157.1 kB / 1.398 GB, free: 9.84 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004533/0.9719, allocations: 75.06 kB / 1.399 GB, free: 9.801 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.226e-05/0.972, allocations: 25.08 kB / 1.399 GB, free: 9.785 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.974, allocations: 1.678 MB / 1.4 GB, free: 8.148 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.974, allocations: 0 / 1.4 GB, free: 8.148 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.9764, allocations: 1.013 MB / 1.401 GB, free: 7.617 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/0.9768, allocations: 289.7 kB / 1.401 GB, free: 7.363 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.9769, allocations: 21.44 kB / 1.402 GB, free: 7.348 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006911/0.9776, allocations: 72.27 kB / 1.402 GB, free: 7.312 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.9777, allocations: 75.08 kB / 1.402 GB, free: 7.27 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.576e-05/0.9778, allocations: 39.47 kB / 1.402 GB, free: 7.254 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005262/0.9784, allocations: 466.5 kB / 1.402 GB, free: 6.992 MB / 1.092 GB Notification: Performance of sort global known variables: time 2e-07/0.9784, allocations: 0 / 1.402 GB, free: 6.992 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000748/0.9791, allocations: 330.2 kB / 1.402 GB, free: 6.895 MB / 1.092 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.004331/0.9835, allocations: 2.081 MB / 1.404 GB, free: 5.621 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001879/0.9854, allocations: 0.867 MB / 1.405 GB, free: 5.168 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9854, allocations: 2.875 kB / 1.405 GB, free: 5.168 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.9865, allocations: 0.5585 MB / 1.406 GB, free: 4.852 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.9876, allocations: 310.2 kB / 1.406 GB, free: 4.684 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.9984, allocations: 6.405 MB / 1.412 GB, free: 15.86 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/0.9991, allocations: 1.012 MB / 1.413 GB, free: 14.82 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008008/0.9999, allocations: 271 kB / 1.414 GB, free: 14.55 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005861/1, allocations: 383.3 kB / 1.414 GB, free: 14.18 MB / 1.107 GB Notification: Performance of SimCode: time 3.01e-07/1, allocations: 0 / 1.414 GB, free: 14.18 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05463/1.055, allocations: 22.44 MB / 1.436 GB, free: 8.094 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.7, allocations: 8 kB / 1.436 GB, free: 8.086 MB / 1.123 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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