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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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.001018/0.001018, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001263/0.001263, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.5/2.5, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.000316, allocations: 8 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.669/0.6694, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004758/0.6742, allocations: 3.805 MB / 0.9848 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.146/0.8203, allocations: 136.8 MB / 1.118 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006712/0.821, allocations: 19.88 kB / 1.118 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004814/0.8215, allocations: 126.9 kB / 1.119 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.8227, allocations: 432.8 kB / 1.119 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.8244, allocations: 0.632 MB / 1.12 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.8257, allocations: 1.159 MB / 1.121 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006351/0.8263, allocations: 406.6 kB / 1.121 GB, free: 6.492 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005011/0.8268, allocations: 342.5 kB / 1.121 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004459/0.8273, allocations: 370.2 kB / 1.122 GB, free: 5.793 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.604e-05/0.8274, allocations: 32 kB / 1.122 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.8286, allocations: 0.7177 MB / 1.123 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.8288, allocations: 183.2 kB / 1.123 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.829, allocations: 185.2 kB / 1.123 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.8304, allocations: 1.278 MB / 1.124 GB, free: 3.395 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.8304, allocations: 0 / 1.124 GB, free: 3.395 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8304, allocations: 0 / 1.124 GB, free: 3.395 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.8304, allocations: 0 / 1.124 GB, free: 3.395 MB / 0.8731 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.002313/0.8327, allocations: 1.263 MB / 1.125 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.8328, allocations: 8.031 kB / 1.125 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.833, allocations: 126.6 kB / 1.125 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.834, allocations: 210.5 kB / 1.126 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009561/0.8349, allocations: 0.7194 MB / 1.126 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/0.835, allocations: 57.95 kB / 1.126 GB, free: 0.9141 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-05/0.8351, allocations: 72 kB / 1.126 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.8366, allocations: 0.8997 MB / 1.127 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.8366, allocations: 0 / 1.127 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.04e-05/0.8367, allocations: 35.98 kB / 1.127 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.8367, allocations: 24 kB / 1.127 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.8386, allocations: 1.132 MB / 1.129 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003528/0.8421, allocations: 2.544 MB / 1.131 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.8437, allocations: 0.845 MB / 1.132 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006402/0.8443, allocations: 338.7 kB / 1.132 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-05/0.8444, allocations: 32.61 kB / 1.132 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009388/0.8454, allocations: 0.5342 MB / 1.133 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 2.284e-06/0.8454, allocations: 3.938 kB / 1.133 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=82): time 0.003236/0.8486, allocations: 1.312 MB / 1.134 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.645e-05/0.8487, allocations: 192.5 kB / 1.134 GB, free: 8.754 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000729/0.8495, allocations: 0.6333 MB / 1.135 GB, free: 8.109 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/0.8495, allocations: 45.7 kB / 1.135 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.8498, allocations: 380.4 kB / 1.135 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.85, allocations: 264.2 kB / 1.135 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.8501, allocations: 12 kB / 1.135 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.8502, allocations: 394.7 kB / 1.136 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006225/0.8508, allocations: 281.8 kB / 1.136 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000825/0.8517, allocations: 403.4 kB / 1.137 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006698/0.8524, allocations: 322.8 kB / 1.137 GB, free: 6 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.8524, allocations: 0 / 1.137 GB, free: 6 MB / 0.8887 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002058/0.8544, allocations: 0.8839 MB / 1.138 GB, free: 5.102 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.8545, allocations: 7.953 kB / 1.138 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.8545, allocations: 4 kB / 1.138 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000562/0.8551, allocations: 84.89 kB / 1.138 GB, free: 5.004 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007889/0.8559, allocations: 171.8 kB / 1.138 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.8579, allocations: 1.529 MB / 1.139 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007707/0.8587, allocations: 112.8 kB / 1.14 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-05/0.8588, allocations: 35.97 kB / 1.14 GB, free: 3.027 MB / 0.8887 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.locTim.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004453/0.8592, allocations: 263.5 kB / 1.14 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.8593, allocations: 94.86 kB / 1.14 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/0.8622, allocations: 1.229 MB / 1.141 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.8622, allocations: 8 kB / 1.141 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.8622, allocations: 0 / 1.141 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.8622, allocations: 7.969 kB / 1.141 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.8633, allocations: 0.919 MB / 1.142 GB, free: 452 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.8633, allocations: 0 / 1.142 GB, free: 452 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006632/0.864, allocations: 159.8 kB / 1.142 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004654/0.8645, allocations: 92.75 kB / 1.142 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.702e-05/0.8645, allocations: 23.98 kB / 1.142 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.8663, allocations: 1.563 MB / 1.144 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8663, allocations: 64 / 1.144 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.8684, allocations: 1.014 MB / 1.145 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003866/0.8688, allocations: 299.5 kB / 1.145 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.8689, allocations: 20 kB / 1.145 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000629/0.8696, allocations: 92.52 kB / 1.145 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.8697, allocations: 84.78 kB / 1.145 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.036e-05/0.8698, allocations: 39.97 kB / 1.145 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005363/0.8703, allocations: 459 kB / 1.146 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8703, allocations: 0 / 1.146 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00079/0.8711, allocations: 311.4 kB / 1.146 GB, free: 12.13 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00343/0.8746, allocations: 2.08 MB / 1.148 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001791/0.8764, allocations: 0.8822 MB / 1.149 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.8764, allocations: 0 / 1.149 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009828/0.8774, allocations: 0.5587 MB / 1.149 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.8785, allocations: 267.7 kB / 1.15 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.8888, allocations: 5.276 MB / 1.155 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/0.8894, allocations: 1.022 MB / 1.156 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009375/0.8903, allocations: 262.9 kB / 1.156 GB, free: 1.777 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005507/0.8909, allocations: 379.3 kB / 1.157 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of SimCode: time 3.236e-06/0.8909, allocations: 0 / 1.157 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04225/0.9332, allocations: 22.1 MB / 1.178 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/0.9334, allocations: 287.1 kB / 1.178 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.542/3.475, allocations: 0 / 1.178 GB, free: 11.37 MB / 0.9356 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat does not exist to compare? outputFormat=mat