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.0008439/0.0008439, allocations: 84.38 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.001048/0.001048, 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.402/1.402, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.484/2.484, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003727, allocations: 8 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8154/0.8158, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001537/0.8174, allocations: 1.175 MB / 0.9823 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003734/0.8178, allocations: 171.5 kB / 0.9824 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.285e-05/0.8178, allocations: 0 / 0.9824 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.8178, allocations: 0 / 0.9824 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.8181, allocations: 27.91 kB / 0.9825 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.8182, allocations: 51.86 kB / 0.9825 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.773e-05/0.8183, allocations: 47.8 kB / 0.9826 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.025e-05/0.8184, allocations: 11.92 kB / 0.9826 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.195e-05/0.8185, allocations: 15.98 kB / 0.9826 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.294e-05/0.8185, allocations: 23.91 kB / 0.9826 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.8186, allocations: 4 kB / 0.9826 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.8186, allocations: 0 / 0.9826 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.8186, allocations: 11.94 kB / 0.9826 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.8187, allocations: 33.7 kB / 0.9827 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.916e-05/0.8187, allocations: 34.17 kB / 0.9827 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.8187, allocations: 3.984 kB / 0.9827 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8187, allocations: 0 / 0.9827 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.8188, allocations: 0 / 0.9827 GB, free: 4.652 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.0004709/0.8192, allocations: 339.3 kB / 0.983 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.8193, allocations: 8.031 kB / 0.983 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/0.8193, allocations: 38.55 kB / 0.9831 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.8194, allocations: 7.906 kB / 0.9831 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.8195, allocations: 167.1 kB / 0.9832 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.8195, allocations: 0 / 0.9832 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.8195, allocations: 7.938 kB / 0.9832 GB, free: 4 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.8197, allocations: 72.2 kB / 0.9833 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.8197, allocations: 0 / 0.9833 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.8197, allocations: 8 kB / 0.9833 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.8197, allocations: 0 / 0.9833 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.8198, allocations: 15.98 kB / 0.9833 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.8201, allocations: 284.8 kB / 0.9836 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.056e-05/0.8202, allocations: 34.56 kB / 0.9836 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.8202, allocations: 16.95 kB / 0.9837 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.8203, allocations: 3.984 kB / 0.9837 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.8204, allocations: 67.39 kB / 0.9837 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 3.537e-06/0.8204, allocations: 0 / 0.9837 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001887/0.8206, allocations: 77.47 kB / 0.9838 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.8207, allocations: 102.8 kB / 0.9839 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.47e-05/0.8208, allocations: 105.8 kB / 0.984 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.8208, allocations: 29.7 kB / 0.984 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.8208, allocations: 84.14 kB / 0.9841 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.8209, allocations: 15.8 kB / 0.9841 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.8209, allocations: 4 kB / 0.9841 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.821, allocations: 314.8 kB / 0.9844 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.393e-05/0.821, allocations: 8 kB / 0.9844 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.291e-05/0.8211, allocations: 30.56 kB / 0.9845 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.005e-05/0.8211, allocations: 15.94 kB / 0.9845 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8211, allocations: 3.953 kB / 0.9845 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.85e-05/0.8212, allocations: 66 kB / 0.9845 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.8212, allocations: 8.031 kB / 0.9846 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.8212, allocations: 0 / 0.9846 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.8212, allocations: 0 / 0.9846 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.912e-05/0.8213, allocations: 12.05 kB / 0.9846 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8213, allocations: 4 kB / 0.9846 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.946e-05/0.8214, allocations: 10.98 kB / 0.9846 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.8214, allocations: 4 kB / 0.9846 GB, free: 2.469 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.005e-05/0.8215, allocations: 119.4 kB / 0.9847 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.8215, allocations: 3.953 kB / 0.9847 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.978e-05/0.8216, allocations: 15.44 kB / 0.9847 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.8216, allocations: 0 / 0.9847 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8216, allocations: 0 / 0.9847 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.8216, allocations: 0 / 0.9847 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.8217, allocations: 173.5 kB / 0.9849 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.8217, allocations: 0 / 0.9849 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.426e-05/0.8217, allocations: 7.953 kB / 0.9849 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8217, allocations: 0 / 0.9849 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.8218, allocations: 4 kB / 0.9849 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8218, allocations: 4 kB / 0.9849 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8218, allocations: 3.984 kB / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.8219, allocations: 85.11 kB / 0.985 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.822, allocations: 96.97 kB / 0.9851 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.822, allocations: 3.953 kB / 0.9851 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.535e-05/0.8221, allocations: 11.98 kB / 0.9851 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.8221, allocations: 4 kB / 0.9851 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.8221, allocations: 7.984 kB / 0.9851 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.062e-05/0.8222, allocations: 87.22 kB / 0.9852 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8222, allocations: 0 / 0.9852 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001853/0.8224, allocations: 16 kB / 0.9852 GB, free: 1.742 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.0003993/0.8228, allocations: 0.6243 MB / 0.9858 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.872e-05/0.8229, allocations: 35.92 kB / 0.9858 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.8229, allocations: 4 kB / 0.9858 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.666e-05/0.8229, allocations: 12 kB / 0.9859 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.8231, allocations: 5.375 kB / 0.9859 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006024/0.8237, allocations: 415.9 kB / 0.9863 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.8239, allocations: 0.6809 MB / 0.9869 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.369e-05/0.824, allocations: 4 kB / 0.9869 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.824, allocations: 15.44 kB / 0.9869 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of SimCode: time 2.11e-07/0.824, allocations: 0 / 0.9869 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05346/0.8775, allocations: 1.54 MB / 0.9884 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/0.8778, allocations: 233.2 kB / 0.9887 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/3.148, allocations: 2.109 kB / 0.9887 GB, free: 14.29 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