Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.000912/0.0009121, allocations: 99.78 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.0009699/0.0009699, allocations: 177.3 kB / 15.95 MB, free: 216 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.426/1.426, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.539/2.539, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003801, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8435/0.8439, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001637/0.8456, allocations: 1.16 MB / 0.9547 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003736/0.846, allocations: 164.8 kB / 0.9549 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.864e-05/0.846, allocations: 0 / 0.9549 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.444e-05/0.8461, allocations: 3.984 kB / 0.9549 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.8463, allocations: 25.58 kB / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.8465, allocations: 52.62 kB / 0.955 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.624e-05/0.8466, allocations: 31.42 kB / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.498e-05/0.8466, allocations: 3.469 kB / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.214e-05/0.8467, allocations: 23.27 kB / 0.955 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.741e-05/0.8468, allocations: 17.47 kB / 0.955 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.8468, allocations: 2.719 kB / 0.955 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.8468, allocations: 6.281 kB / 0.955 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.8468, allocations: 14.2 kB / 0.9551 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.8469, allocations: 28.95 kB / 0.9551 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.01e-05/0.8469, allocations: 36.48 kB / 0.9551 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.8469, allocations: 4 kB / 0.9551 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.847, allocations: 3.938 kB / 0.9551 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.847, allocations: 0 / 0.9551 GB, free: 6.852 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003907/0.8474, allocations: 342.2 kB / 0.9555 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.8474, allocations: 9.5 kB / 0.9555 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.8474, allocations: 31.66 kB / 0.9555 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.8475, allocations: 10.42 kB / 0.9555 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.263e-05/0.8476, allocations: 170.3 kB / 0.9557 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.8476, allocations: 9.281 kB / 0.9557 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.8476, allocations: 1.125 kB / 0.9557 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.8477, allocations: 70.66 kB / 0.9557 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-06/0.8478, allocations: 0 / 0.9557 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.8478, allocations: 1.188 kB / 0.9557 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.8478, allocations: 0 / 0.9557 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.895e-05/0.8478, allocations: 24.94 kB / 0.9558 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.8481, allocations: 273.6 kB / 0.956 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.836e-05/0.8482, allocations: 43.75 kB / 0.9561 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.8482, allocations: 0 / 0.9561 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.8484, allocations: 71.66 kB / 0.9561 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.8484, allocations: 1.406 kB / 0.9561 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001706/0.8485, allocations: 77.27 kB / 0.9562 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.8486, allocations: 104.3 kB / 0.9563 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.235e-05/0.8486, allocations: 109.7 kB / 0.9564 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.8487, allocations: 26.86 kB / 0.9564 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.8487, allocations: 85.36 kB / 0.9565 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.8487, allocations: 6.125 kB / 0.9565 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.8487, allocations: 0 / 0.9565 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.8488, allocations: 320 kB / 0.9568 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.489e-05/0.8488, allocations: 12.84 kB / 0.9568 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.052e-05/0.8489, allocations: 32.19 kB / 0.9569 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.768e-05/0.8489, allocations: 14.53 kB / 0.9569 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.8489, allocations: 0 / 0.9569 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.325e-05/0.849, allocations: 59.88 kB / 0.9569 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.849, allocations: 5.688 kB / 0.957 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.849, allocations: 3.953 kB / 0.957 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.849, allocations: 5.5 kB / 0.957 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/0.8491, allocations: 13.16 kB / 0.957 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.8491, allocations: 3.938 kB / 0.957 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.8492, allocations: 12.7 kB / 0.957 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.8492, allocations: 1.438 kB / 0.957 GB, free: 4.879 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.855e-05/0.8493, allocations: 116.7 kB / 0.9571 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.8493, allocations: 2.938 kB / 0.9571 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.8493, allocations: 7.484 kB / 0.9571 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.8494, allocations: 5.453 kB / 0.9571 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.8494, allocations: 4.188 kB / 0.9571 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.8494, allocations: 0 / 0.9571 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.8495, allocations: 170.1 kB / 0.9573 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.8495, allocations: 1.5 kB / 0.9573 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.268e-05/0.8495, allocations: 6.859 kB / 0.9573 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.8495, allocations: 0 / 0.9573 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.8495, allocations: 0 / 0.9573 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8495, allocations: 1.312 kB / 0.9573 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8495, allocations: 3.953 kB / 0.9573 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.8497, allocations: 90.25 kB / 0.9574 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.8497, allocations: 92.88 kB / 0.9575 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.8497, allocations: 1.406 kB / 0.9575 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.8498, allocations: 11.61 kB / 0.9575 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.8499, allocations: 13.94 kB / 0.9575 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.8499, allocations: 1.094 kB / 0.9575 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.293e-05/0.8499, allocations: 89.03 kB / 0.9576 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.85, allocations: 4 kB / 0.9576 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001908/0.8501, allocations: 9.75 kB / 0.9576 GB, free: 4.23 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003135/0.8505, allocations: 0.6277 MB / 0.9582 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.8506, allocations: 32.64 kB / 0.9582 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8506, allocations: 0 / 0.9582 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.8506, allocations: 24.97 kB / 0.9583 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001052/0.8507, allocations: 2.469 kB / 0.9583 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005651/0.8513, allocations: 409.6 kB / 0.9587 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.8515, allocations: 0.6839 MB / 0.9593 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.8515, allocations: 9.781 kB / 0.9593 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.8515, allocations: 12.75 kB / 0.9593 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8515, allocations: 1.562 kB / 0.9594 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.8642, allocations: 1.536 MB / 0.9609 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.8645, allocations: 216.6 kB / 0.9611 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.535, allocations: 1.812 kB / 0.9611 GB, free: 1.582 MB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat does not exist to compare? outputFormat=mat