Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.001509/0.001509, allocations: 98.38 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.001914/0.001914, 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.545/2.545, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.556/4.556, allocations: 409.2 MB / 0.6838 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000753/0.0007531, allocations: 8 kB / 0.8375 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639/1.64, allocations: 146.8 MB / 0.9809 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002902/1.643, allocations: 1.17 MB / 0.982 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005898/1.644, allocations: 155.6 kB / 0.9822 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/1.644, allocations: 7.938 kB / 0.9822 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/1.644, allocations: 3.984 kB / 0.9822 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003087/1.644, allocations: 19.91 kB / 0.9822 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/1.644, allocations: 43.92 kB / 0.9822 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002143/1.645, allocations: 39.89 kB / 0.9823 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/1.645, allocations: 8 kB / 0.9823 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.653e-05/1.645, allocations: 23.92 kB / 0.9823 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/1.645, allocations: 11.92 kB / 0.9823 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/1.645, allocations: 4 kB / 0.9823 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.399e-05/1.645, allocations: 4 kB / 0.9823 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/1.645, allocations: 11.97 kB / 0.9823 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/1.645, allocations: 33.7 kB / 0.9824 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/1.645, allocations: 26.19 kB / 0.9824 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/1.645, allocations: 0 / 0.9824 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.412e-06/1.645, allocations: 0 / 0.9824 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.386e-06/1.645, allocations: 4 kB / 0.9824 GB, free: 4.68 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.0009391/1.646, allocations: 347.2 kB / 0.9827 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.004e-05/1.646, allocations: 12.03 kB / 0.9827 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.719e-05/1.647, allocations: 34.56 kB / 0.9828 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/1.647, allocations: 7.906 kB / 0.9828 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/1.647, allocations: 163.1 kB / 0.9829 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/1.647, allocations: 7.938 kB / 0.9829 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/1.647, allocations: 0 / 0.9829 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/1.647, allocations: 84.2 kB / 0.983 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/1.647, allocations: 0 / 0.983 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/1.647, allocations: 7.938 kB / 0.983 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/1.647, allocations: 0 / 0.983 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.84e-05/1.647, allocations: 15.98 kB / 0.983 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/1.648, allocations: 280.8 kB / 0.9833 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/1.648, allocations: 46.56 kB / 0.9834 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/1.648, allocations: 3.938 kB / 0.9834 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/1.648, allocations: 55.48 kB / 0.9834 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/1.648, allocations: 0 / 0.9834 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003282/1.649, allocations: 77.58 kB / 0.9835 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.989e-05/1.649, allocations: 102.8 kB / 0.9836 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/1.649, allocations: 113.8 kB / 0.9837 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/1.649, allocations: 25.7 kB / 0.9837 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/1.649, allocations: 92.02 kB / 0.9838 GB, free: 3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/1.649, allocations: 11.81 kB / 0.9838 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/1.649, allocations: 0 / 0.9838 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001923/1.649, allocations: 310.8 kB / 0.9841 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.257e-05/1.649, allocations: 15.98 kB / 0.9841 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/1.65, allocations: 38.56 kB / 0.9842 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/1.65, allocations: 12 kB / 0.9842 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.65, allocations: 0 / 0.9842 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001434/1.65, allocations: 57.64 kB / 0.9842 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.65, allocations: 4 kB / 0.9842 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.65, allocations: 4 kB / 0.9842 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/1.65, allocations: 0 / 0.9842 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/1.65, allocations: 8.125 kB / 0.9842 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.65, allocations: 0 / 0.9842 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/1.65, allocations: 16.02 kB / 0.9843 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/1.65, allocations: 0 / 0.9843 GB, free: 2.508 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 0.0003501/1.65, allocations: 113.8 kB / 0.9844 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/1.651, allocations: 11.94 kB / 0.9844 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.524e-05/1.651, allocations: 11.48 kB / 0.9844 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/1.651, allocations: 0 / 0.9844 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.651, allocations: 0 / 0.9844 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.651, allocations: 4 kB / 0.9844 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/1.651, allocations: 169.6 kB / 0.9846 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.651, allocations: 4.438 kB / 0.9846 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/1.651, allocations: 0 / 0.9846 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/1.651, allocations: 15.88 kB / 0.9846 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/1.651, allocations: 4 kB / 0.9846 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/1.651, allocations: 0 / 0.9846 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.651, allocations: 0 / 0.9846 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/1.651, allocations: 85.06 kB / 0.9847 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/1.651, allocations: 89.03 kB / 0.9847 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/1.651, allocations: 7.953 kB / 0.9848 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/1.651, allocations: 17.52 kB / 0.9848 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/1.652, allocations: 7.984 kB / 0.9848 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/1.652, allocations: 0 / 0.9848 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.908e-05/1.652, allocations: 87.28 kB / 0.9849 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/1.652, allocations: 3.938 kB / 0.9849 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002974/1.652, allocations: 8 kB / 0.9849 GB, free: 1.785 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.000701/1.653, allocations: 0.6319 MB / 0.9855 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001658/1.653, allocations: 27.98 kB / 0.9855 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.653, allocations: 0 / 0.9855 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.216e-05/1.653, allocations: 15.98 kB / 0.9855 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/1.653, allocations: 11.95 kB / 0.9855 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009725/1.654, allocations: 405.4 kB / 0.9859 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/1.655, allocations: 0.6848 MB / 0.9866 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.04e-05/1.655, allocations: 4 kB / 0.9866 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/1.655, allocations: 11.44 kB / 0.9866 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of SimCode: time 4.01e-07/1.655, allocations: 4 kB / 0.9866 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/1.675, allocations: 1.528 MB / 0.9881 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000477/1.675, allocations: 225.1 kB / 0.9883 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.778/4.453, allocations: 0 / 0.9883 GB, free: 14.34 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat does not exist to compare? outputFormat=mat