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.001272/0.001272, allocations: 99 kB / 15.05 MB, free: 1.105 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.001813/0.001813, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.436/2.436, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.596/4.596, allocations: 409.2 MB / 0.6838 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000722/0.0007223, allocations: 11.98 kB / 0.8375 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721/1.722, allocations: 146.8 MB / 0.9808 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00935/1.731, allocations: 3.712 MB / 0.9845 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2798/2.011, allocations: 127.5 MB / 1.109 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/2.013, allocations: 15.88 kB / 1.109 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006845/2.014, allocations: 71.34 kB / 1.109 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00306/2.017, allocations: 0.4963 MB / 1.11 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003058/2.02, allocations: 0.6304 MB / 1.11 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002537/2.022, allocations: 0.8331 MB / 1.111 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/2.024, allocations: 414.6 kB / 1.111 GB, free: 308 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/2.025, allocations: 342.7 kB / 1.112 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008589/2.026, allocations: 346.2 kB / 1.112 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/2.026, allocations: 27.94 kB / 1.112 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/2.028, allocations: 0.6982 MB / 1.113 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000355/2.029, allocations: 179.3 kB / 1.113 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004314/2.029, allocations: 193.1 kB / 1.113 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003021/2.032, allocations: 1.282 MB / 1.114 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/2.032, allocations: 0 / 1.114 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.498e-06/2.032, allocations: 0 / 1.114 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.59e-05/2.032, allocations: 0 / 1.114 GB, free: 13.24 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.004512/2.037, allocations: 1.255 MB / 1.116 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 8.973e-05/2.037, allocations: 12.03 kB / 1.116 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004371/2.037, allocations: 126.6 kB / 1.116 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/2.04, allocations: 214.5 kB / 1.116 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/2.042, allocations: 0.7117 MB / 1.117 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-05/2.042, allocations: 61.95 kB / 1.117 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/2.042, allocations: 79.94 kB / 1.117 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/2.045, allocations: 0.8879 MB / 1.118 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/2.045, allocations: 0 / 1.118 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/2.045, allocations: 32 kB / 1.118 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/2.045, allocations: 20 kB / 1.118 GB, free: 9.707 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003171/2.048, allocations: 1.136 MB / 1.119 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007116/2.055, allocations: 2.552 MB / 1.121 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/2.058, allocations: 0.8313 MB / 1.122 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/2.058, allocations: 28.61 kB / 1.122 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001657/2.06, allocations: 0.5303 MB / 1.123 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 3.617e-06/2.06, allocations: 4 kB / 1.123 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.005681/2.066, allocations: 1.305 MB / 1.124 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002093/2.066, allocations: 196.5 kB / 1.124 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/2.068, allocations: 0.6294 MB / 1.125 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001737/2.068, allocations: 45.64 kB / 1.125 GB, free: 2.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000582/2.068, allocations: 388.4 kB / 1.125 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004419/2.069, allocations: 260.2 kB / 1.125 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-05/2.069, allocations: 16 kB / 1.125 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003776/2.069, allocations: 390.7 kB / 1.126 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/2.071, allocations: 277.8 kB / 1.126 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/2.072, allocations: 403.4 kB / 1.126 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/2.073, allocations: 322.8 kB / 1.127 GB, free: 216 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/2.073, allocations: 0 / 1.127 GB, free: 216 kB / 0.8731 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003619/2.077, allocations: 0.8839 MB / 1.128 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/2.077, allocations: 11.89 kB / 1.128 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/2.077, allocations: 7.969 kB / 1.128 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008334/2.078, allocations: 84.91 kB / 1.128 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/2.079, allocations: 175.8 kB / 1.128 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00346/2.082, allocations: 1.543 MB / 1.129 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/2.084, allocations: 111.3 kB / 1.129 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/2.084, allocations: 35.97 kB / 1.13 GB, free: 13.21 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.001014/2.085, allocations: 263.4 kB / 1.13 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003577/2.085, allocations: 91.23 kB / 1.13 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004539/2.09, allocations: 1.233 MB / 1.131 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/2.09, allocations: 8 kB / 1.131 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/2.09, allocations: 0 / 1.131 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.855e-05/2.09, allocations: 3.984 kB / 1.131 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/2.092, allocations: 0.9229 MB / 1.132 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/2.092, allocations: 0 / 1.132 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/2.093, allocations: 163.8 kB / 1.132 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007515/2.094, allocations: 84.77 kB / 1.132 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.991e-05/2.094, allocations: 31.97 kB / 1.132 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003055/2.097, allocations: 1.571 MB / 1.134 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/2.097, allocations: 0 / 1.134 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/2.101, allocations: 1.01 MB / 1.135 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008641/2.102, allocations: 307.5 kB / 1.135 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/2.102, allocations: 16 kB / 1.135 GB, free: 7.273 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/2.103, allocations: 100.5 kB / 1.135 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/2.103, allocations: 80.83 kB / 1.135 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/2.104, allocations: 35.98 kB / 1.135 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001063/2.105, allocations: 459 kB / 1.136 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.1e-07/2.105, allocations: 0 / 1.136 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001518/2.106, allocations: 319.3 kB / 1.136 GB, free: 6.305 MB / 0.8887 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.005971/2.112, allocations: 2.076 MB / 1.138 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003137/2.115, allocations: 0.8783 MB / 1.139 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/2.115, allocations: 0 / 1.139 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/2.117, allocations: 0.5626 MB / 1.139 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/2.119, allocations: 245.6 kB / 1.14 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0186/2.138, allocations: 5.841 MB / 1.145 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/2.139, allocations: 1.032 MB / 1.146 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001809/2.141, allocations: 274.8 kB / 1.147 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009334/2.142, allocations: 382 kB / 1.147 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of SimCode: time 2.194e-06/2.142, allocations: 0 / 1.147 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08794/2.23, allocations: 22.06 MB / 1.169 GB, free: 5.363 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000465/2.23, allocations: 278.3 kB / 1.169 GB, free: 5.008 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.037/6.267, allocations: 3.375 kB / 1.169 GB, free: 5.008 MB / 0.92 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