Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_9_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.001473/0.001473, allocations: 99.55 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.001536/0.001536, 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 1.373/1.373, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.3 MB / 0.6653 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 8 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8054/0.8058, allocations: 142.3 MB / 0.9536 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005017/0.8108, allocations: 3.718 MB / 0.9572 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1611/0.9719, allocations: 127.6 MB / 1.082 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.9731, allocations: 15.88 kB / 1.082 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000469/0.9735, allocations: 75.33 kB / 1.082 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.9756, allocations: 0.493 MB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.9774, allocations: 0.6249 MB / 1.083 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001842/0.9793, allocations: 0.8293 MB / 1.084 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000669/0.98, allocations: 418.5 kB / 1.084 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006367/0.9806, allocations: 346.6 kB / 1.084 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004949/0.9811, allocations: 346.3 kB / 1.085 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.335e-05/0.9812, allocations: 28 kB / 1.085 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.9827, allocations: 0.6942 MB / 1.086 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.9829, allocations: 183.3 kB / 1.086 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.9831, allocations: 197.1 kB / 1.086 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.9847, allocations: 1.274 MB / 1.087 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.9848, allocations: 4 kB / 1.087 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.364e-06/0.9848, allocations: 0 / 1.087 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.9848, allocations: 0 / 1.087 GB, free: 7.102 MB / 0.8419 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.002388/0.9872, allocations: 1.259 MB / 1.088 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.9872, allocations: 12.03 kB / 1.088 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/0.9874, allocations: 122.6 kB / 1.088 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.9885, allocations: 214.5 kB / 1.089 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.9897, allocations: 0.7117 MB / 1.089 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.407e-05/0.9897, allocations: 54 kB / 1.089 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.9898, allocations: 79.92 kB / 1.09 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.9914, allocations: 0.888 MB / 1.09 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.9914, allocations: 3.953 kB / 1.09 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.168e-05/0.9915, allocations: 32 kB / 1.09 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.9915, allocations: 24 kB / 1.09 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.9934, allocations: 1.136 MB / 1.092 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004054/0.9975, allocations: 2.541 MB / 1.094 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.9991, allocations: 0.8352 MB / 1.095 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.821e-05/0.9992, allocations: 32.61 kB / 1.095 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/1, allocations: 0.5303 MB / 1.095 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/1, allocations: 0 / 1.095 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=82): time 0.003485/1.004, allocations: 1.309 MB / 1.097 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.004, allocations: 188.6 kB / 1.097 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008747/1.005, allocations: 0.6333 MB / 1.097 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.5e-05/1.005, allocations: 45.64 kB / 1.098 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/1.005, allocations: 392.4 kB / 1.098 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/1.005, allocations: 260.2 kB / 1.098 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/1.005, allocations: 12 kB / 1.098 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001735/1.006, allocations: 394.7 kB / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000633/1.006, allocations: 277.8 kB / 1.099 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000714/1.007, allocations: 407.3 kB / 1.099 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006899/1.008, allocations: 330.8 kB / 1.099 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.008, allocations: 0 / 1.099 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002127/1.01, allocations: 0.884 MB / 1.1 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/1.01, allocations: 4 kB / 1.1 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.01, allocations: 0 / 1.1 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/1.011, allocations: 88.8 kB / 1.1 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007455/1.011, allocations: 163.8 kB / 1.101 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/1.013, allocations: 1.561 MB / 1.102 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008452/1.014, allocations: 107.4 kB / 1.102 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/1.014, allocations: 35.97 kB / 1.102 GB, free: 7.066 MB / 0.8575 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.0004992/1.015, allocations: 259.4 kB / 1.103 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/1.015, allocations: 82.97 kB / 1.103 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/1.018, allocations: 1.23 MB / 1.104 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.018, allocations: 8 kB / 1.104 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.018, allocations: 3.938 kB / 1.104 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/1.018, allocations: 7.969 kB / 1.104 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/1.019, allocations: 0.9189 MB / 1.105 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/1.019, allocations: 7.953 kB / 1.105 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/1.02, allocations: 171.8 kB / 1.105 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004994/1.02, allocations: 84.77 kB / 1.105 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/1.02, allocations: 23.98 kB / 1.105 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/1.022, allocations: 1.571 MB / 1.107 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.022, allocations: 4.062 kB / 1.107 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/1.025, allocations: 1.014 MB / 1.108 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000547/1.025, allocations: 303.5 kB / 1.108 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/1.025, allocations: 19.98 kB / 1.108 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006749/1.026, allocations: 88.53 kB / 1.108 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/1.026, allocations: 76.89 kB / 1.108 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.817e-05/1.026, allocations: 35.97 kB / 1.108 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006701/1.027, allocations: 459 kB / 1.108 GB, free: 488 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/1.027, allocations: 0 / 1.108 GB, free: 488 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000988/1.028, allocations: 311.4 kB / 1.109 GB, free: 176 kB / 0.8575 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.003793/1.032, allocations: 2.094 MB / 1.111 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001945/1.034, allocations: 0.8744 MB / 1.112 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.034, allocations: 0 / 1.112 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/1.035, allocations: 0.5588 MB / 1.112 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/1.036, allocations: 241 kB / 1.112 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/1.047, allocations: 5.832 MB / 1.118 GB, free: 6.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007052/1.048, allocations: 1.04 MB / 1.119 GB, free: 5.516 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001009/1.049, allocations: 278.8 kB / 1.119 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005221/1.05, allocations: 383.3 kB / 1.12 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of SimCode: time 1.603e-06/1.05, allocations: 0 / 1.12 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04339/1.093, allocations: 22.06 MB / 1.141 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003686/1.093, allocations: 268.9 kB / 1.142 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/3.555, allocations: 13.25 kB / 1.142 GB, free: 14.84 MB / 0.9044 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat does not exist to compare? outputFormat=mat