Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.006914/0.006914, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.002085/0.002085, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 4.184 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 2.227/2.227, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 65.86 kB / 0.9504 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2389, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008233/0.2472, allocations: 6.686 MB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1466/0.3938, allocations: 153.4 MB / 1.244 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.3951, allocations: 31.88 kB / 1.244 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.3963, allocations: 328.8 kB / 1.244 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.3995, allocations: 0.7382 MB / 1.245 GB, free: 220 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003419/0.403, allocations: 1.373 MB / 1.246 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003105/0.4061, allocations: 2.582 MB / 1.249 GB, free: 12.27 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.4079, allocations: 1.096 MB / 1.25 GB, free: 11.12 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.4093, allocations: 0.8681 MB / 1.251 GB, free: 10.25 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.4106, allocations: 0.9023 MB / 1.252 GB, free: 9.344 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005347/0.4111, allocations: 212 kB / 1.252 GB, free: 9.137 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.413, allocations: 0.9677 MB / 1.253 GB, free: 8.168 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006795/0.4137, allocations: 0.5412 MB / 1.253 GB, free: 7.625 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.415, allocations: 1.007 MB / 1.254 GB, free: 6.613 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003827/0.4188, allocations: 2.975 MB / 1.257 GB, free: 3.629 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4189, allocations: 0 / 1.257 GB, free: 3.629 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4189, allocations: 7.938 kB / 1.257 GB, free: 3.621 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.819e-05/0.419, allocations: 0 / 1.257 GB, free: 3.621 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: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.005199/0.4242, allocations: 2.37 MB / 1.259 GB, free: 1.188 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.4242, allocations: 8.031 kB / 1.259 GB, free: 1.18 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004102/0.4246, allocations: 215.4 kB / 1.26 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.4268, allocations: 369.9 kB / 1.26 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4807/0.9075, allocations: 1.313 MB / 1.261 GB, free: 172.7 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.9076, allocations: 106.6 kB / 1.261 GB, free: 172.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.9078, allocations: 145.9 kB / 1.261 GB, free: 172.7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/0.9108, allocations: 1.655 MB / 1.263 GB, free: 172.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.9108, allocations: 0.8125 kB / 1.263 GB, free: 172.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.911, allocations: 64.7 kB / 1.263 GB, free: 172.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/0.911, allocations: 36.81 kB / 1.263 GB, free: 172.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003776/0.9148, allocations: 2.147 MB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007556/0.9224, allocations: 4.683 MB / 1.27 GB, free: 169.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003322/0.9257, allocations: 1.61 MB / 1.271 GB, free: 168.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.9271, allocations: 0.591 MB / 1.272 GB, free: 168.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.9273, allocations: 66.05 kB / 1.272 GB, free: 168.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001996/0.9293, allocations: 0.9399 MB / 1.273 GB, free: 168.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=154): time 3.656e-06/0.9293, allocations: 0.9844 kB / 1.273 GB, free: 168.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=154): time 0.006413/0.9357, allocations: 2.372 MB / 1.275 GB, free: 167.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.9359, allocations: 359.1 kB / 1.276 GB, free: 166.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/0.9377, allocations: 1.157 MB / 1.277 GB, free: 166.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.9379, allocations: 62.83 kB / 1.277 GB, free: 166.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004668/0.9383, allocations: 0.6622 MB / 1.277 GB, free: 165.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/0.9387, allocations: 493.1 kB / 1.278 GB, free: 165.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004502/0.9391, allocations: 287.5 kB / 1.278 GB, free: 165.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.9392, allocations: 356.4 kB / 1.279 GB, free: 164.9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.9403, allocations: 0.4931 MB / 1.279 GB, free: 164.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.9415, allocations: 0.7295 MB / 1.28 GB, free: 164.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.9435, allocations: 1.19 MB / 1.281 GB, free: 163.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.9436, allocations: 1.125 kB / 1.281 GB, free: 163.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003924/0.9475, allocations: 1.583 MB / 1.282 GB, free: 163.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.9475, allocations: 10.98 kB / 1.282 GB, free: 163.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.9476, allocations: 6.625 kB / 1.282 GB, free: 163.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.9487, allocations: 162.8 kB / 1.283 GB, free: 163.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.9499, allocations: 310.2 kB / 1.283 GB, free: 163.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003198/0.9531, allocations: 3.284 MB / 1.286 GB, free: 160 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.9545, allocations: 174.9 kB / 1.286 GB, free: 159.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.9546, allocations: 63.56 kB / 1.286 GB, free: 159.9 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 30 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,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 (169): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007346/0.9554, allocations: 414.3 kB / 1.287 GB, free: 159.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/0.9557, allocations: 168.3 kB / 1.287 GB, free: 159.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004671/0.9604, allocations: 2.166 MB / 1.289 GB, free: 158.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.9604, allocations: 17.94 kB / 1.289 GB, free: 158.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.9604, allocations: 5.25 kB / 1.289 GB, free: 158.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.129e-05/0.9604, allocations: 13 kB / 1.289 GB, free: 158.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.9626, allocations: 1.627 MB / 1.291 GB, free: 157.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.9626, allocations: 1.125 kB / 1.291 GB, free: 157.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.9637, allocations: 286.7 kB / 1.291 GB, free: 157.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008119/0.9645, allocations: 146.5 kB / 1.291 GB, free: 157.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.9646, allocations: 46.22 kB / 1.291 GB, free: 157.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002938/0.9676, allocations: 3.353 MB / 1.294 GB, free: 154.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9676, allocations: 3.609 kB / 1.294 GB, free: 154.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004127/0.9717, allocations: 1.824 MB / 1.296 GB, free: 154 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007829/0.9725, allocations: 466.8 kB / 1.297 GB, free: 153.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.9728, allocations: 39.69 kB / 1.297 GB, free: 153.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.9739, allocations: 130.2 kB / 1.297 GB, free: 153.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002925/0.9742, allocations: 141.7 kB / 1.297 GB, free: 153.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/0.9743, allocations: 73.75 kB / 1.297 GB, free: 153.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001103/0.9754, allocations: 0.8123 MB / 1.298 GB, free: 153.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9754, allocations: 0.5625 kB / 1.298 GB, free: 153.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001307/0.9767, allocations: 0.5005 MB / 1.298 GB, free: 153.2 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004987/0.9817, allocations: 2.928 MB / 1.301 GB, free: 151.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003327/0.9851, allocations: 1.61 MB / 1.303 GB, free: 151.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.9851, allocations: 1.469 kB / 1.303 GB, free: 151.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.9868, allocations: 1.045 MB / 1.304 GB, free: 150.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.989, allocations: 0.5747 MB / 1.304 GB, free: 150.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/1.007, allocations: 11.39 MB / 1.315 GB, free: 143 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006176/1.008, allocations: 1.332 MB / 1.317 GB, free: 141.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001476/1.009, allocations: 0.5165 MB / 1.317 GB, free: 141.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008256/1.01, allocations: 0.7374 MB / 1.318 GB, free: 140.4 MB / 1.014 GB Notification: Performance of SimCode: time 7.02e-07/1.01, allocations: 0 / 1.318 GB, free: 140.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05941/1.07, allocations: 39.17 MB / 1.356 GB, free: 101.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.85, allocations: 8 kB / 1.356 GB, free: 101.6 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches