Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_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.001197/0.001197, allocations: 86.95 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.001539/0.001539, 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.386/1.386, 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.487/2.487, allocations: 409.4 MB / 0.684 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 11.98 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8166/0.817, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001426/0.8185, allocations: 1.179 MB / 0.9823 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003759/0.8188, allocations: 174.6 kB / 0.9825 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.8189, allocations: 4 kB / 0.9825 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.116e-05/0.8189, allocations: 0 / 0.9825 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.8191, allocations: 15.92 kB / 0.9825 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.8193, allocations: 43.94 kB / 0.9825 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.366e-05/0.8193, allocations: 55.77 kB / 0.9826 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.395e-05/0.8194, allocations: 12 kB / 0.9826 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.8195, allocations: 15.98 kB / 0.9826 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.8195, allocations: 15.92 kB / 0.9826 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.8195, allocations: 4 kB / 0.9826 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.8196, allocations: 0 / 0.9826 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.8196, allocations: 19.91 kB / 0.9826 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.8196, allocations: 29.7 kB / 0.9827 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.578e-05/0.8197, allocations: 30.33 kB / 0.9827 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8197, allocations: 0 / 0.9827 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8197, allocations: 0 / 0.9827 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.8197, allocations: 4 kB / 0.9827 GB, free: 4.633 MB / 0.7325 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.0004075/0.8201, allocations: 343.2 kB / 0.983 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.8202, allocations: 12.03 kB / 0.983 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.8202, allocations: 30.56 kB / 0.9831 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.8202, allocations: 7.906 kB / 0.9831 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.8203, allocations: 167.1 kB / 0.9832 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.8204, allocations: 4 kB / 0.9832 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.8204, allocations: 0 / 0.9832 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.8205, allocations: 92.12 kB / 0.9833 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.8205, allocations: 0 / 0.9833 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.8206, allocations: 3.938 kB / 0.9833 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.8206, allocations: 0 / 0.9833 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.817e-05/0.8206, allocations: 15.98 kB / 0.9833 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.8209, allocations: 276.8 kB / 0.9836 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.363e-05/0.821, allocations: 42.56 kB / 0.9836 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.8211, allocations: 12.86 kB / 0.9837 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.8211, allocations: 0 / 0.9837 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.8212, allocations: 63.48 kB / 0.9837 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 2.685e-06/0.8213, allocations: 0 / 0.9837 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001951/0.8215, allocations: 85.45 kB / 0.9838 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.8215, allocations: 106.8 kB / 0.9839 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.39e-05/0.8216, allocations: 105.8 kB / 0.984 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.8216, allocations: 29.7 kB / 0.984 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.8217, allocations: 84.12 kB / 0.9841 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.8217, allocations: 15.81 kB / 0.9841 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.8217, allocations: 0 / 0.9841 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.741e-05/0.8218, allocations: 314.8 kB / 0.9844 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.378e-05/0.8218, allocations: 8 kB / 0.9844 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.484e-05/0.8219, allocations: 38.81 kB / 0.9845 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.381e-05/0.8219, allocations: 20.06 kB / 0.9845 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.8219, allocations: 3.953 kB / 0.9845 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.773e-05/0.822, allocations: 57.69 kB / 0.9845 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.8221, allocations: 4 kB / 0.9846 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.8221, allocations: 0 / 0.9846 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.8221, allocations: 0 / 0.9846 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.8221, allocations: 8 kB / 0.9846 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.8222, allocations: 4.031 kB / 0.9846 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.39e-05/0.8222, allocations: 11.98 kB / 0.9846 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.8223, allocations: 0 / 0.9846 GB, free: 2.445 MB / 0.7325 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 8.69e-05/0.8224, allocations: 115.4 kB / 0.9847 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.8224, allocations: 11.94 kB / 0.9847 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.8224, allocations: 7.5 kB / 0.9847 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.8224, allocations: 3.938 kB / 0.9847 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.8224, allocations: 0 / 0.9847 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.8224, allocations: 4 kB / 0.9847 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.8225, allocations: 169.5 kB / 0.9849 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.8225, allocations: 0 / 0.9849 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-05/0.8226, allocations: 7.953 kB / 0.9849 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.8226, allocations: 0 / 0.9849 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.8226, allocations: 8 kB / 0.9849 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.8226, allocations: 0 / 0.9849 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8226, allocations: 7.922 kB / 0.9849 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.8227, allocations: 89.3 kB / 0.985 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.8228, allocations: 97 kB / 0.9851 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.8228, allocations: 3.953 kB / 0.9851 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.18e-05/0.8229, allocations: 11.98 kB / 0.9851 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.823, allocations: 4 kB / 0.9851 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.823, allocations: 4 kB / 0.9851 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.103e-05/0.823, allocations: 91.27 kB / 0.9852 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.823, allocations: 0 / 0.9852 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001812/0.8232, allocations: 20 kB / 0.9852 GB, free: 1.707 MB / 0.7325 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.0003877/0.8236, allocations: 0.6202 MB / 0.9858 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.8237, allocations: 35.92 kB / 0.9858 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8237, allocations: 0 / 0.9858 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.513e-05/0.8238, allocations: 12 kB / 0.9859 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.8239, allocations: 17.38 kB / 0.9859 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005941/0.8245, allocations: 398.6 kB / 0.9862 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.8248, allocations: 0.6809 MB / 0.9869 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.513e-05/0.8248, allocations: 8 kB / 0.9869 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.8249, allocations: 16.28 kB / 0.9869 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.8249, allocations: 0 / 0.9869 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05309/0.878, allocations: 1.547 MB / 0.9884 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/0.8783, allocations: 229.7 kB / 0.9887 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/3.021, allocations: 4 kB / 0.9887 GB, free: 14.26 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat does not exist to compare? outputFormat=mat