Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ConvertTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.006848/0.006848, allocations: 101.2 kB / 15.73 MB, free: 5.523 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.001552/0.001552, allocations: 195.9 kB / 16.67 MB, free: 5.461 MB / 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: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.605/3.605, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 71.91 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263/1.266, allocations: 140.4 MB / 1.087 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002998/1.269, allocations: 1.448 MB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004985/1.269, allocations: 191.8 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/1.269, allocations: 0 / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/1.269, allocations: 4.734 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002681/1.27, allocations: 20.78 kB / 1.089 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/1.27, allocations: 58.23 kB / 1.089 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/1.27, allocations: 60.09 kB / 1.089 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/1.27, allocations: 8.938 kB / 1.089 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.136e-05/1.27, allocations: 31.36 kB / 1.089 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.263e-05/1.27, allocations: 19.59 kB / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/1.27, allocations: 4.188 kB / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.822e-05/1.27, allocations: 4.938 kB / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/1.27, allocations: 9.25 kB / 1.089 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.476e-05/1.271, allocations: 25.66 kB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/1.271, allocations: 47.58 kB / 1.089 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.271, allocations: 4.797 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.156e-06/1.271, allocations: 4.969 kB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.62e-06/1.271, allocations: 0 / 1.089 GB, free: 4.25 MB / 0.8575 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.0005915/1.271, allocations: 350.5 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.271, allocations: 13.47 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/1.271, allocations: 37.06 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/1.271, allocations: 3.703 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/1.272, allocations: 173.4 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/1.272, allocations: 1.469 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/1.272, allocations: 10.94 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/1.272, allocations: 74.69 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/1.272, allocations: 3.938 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/1.272, allocations: 4.938 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/1.272, allocations: 1.484 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.398e-05/1.272, allocations: 15.44 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/1.272, allocations: 279.1 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/1.272, allocations: 42.16 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.249e-05/1.273, allocations: 16.44 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/1.273, allocations: 1.562 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/1.273, allocations: 63.33 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/1.273, allocations: 0 / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002737/1.273, allocations: 77.38 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/1.273, allocations: 108.5 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.133e-05/1.273, allocations: 104.3 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/1.273, allocations: 26.61 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.975e-05/1.273, allocations: 87.16 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/1.273, allocations: 7.078 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/1.273, allocations: 22.61 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.573e-05/1.273, allocations: 325.2 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/1.273, allocations: 6.297 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.373e-05/1.273, allocations: 35.55 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.402e-05/1.274, allocations: 25.31 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.274, allocations: 1.062 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001085/1.274, allocations: 62.88 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.274, allocations: 8.672 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/1.274, allocations: 0 / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/1.274, allocations: 1.5 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.669e-05/1.274, allocations: 10.77 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/1.274, allocations: 0 / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/1.274, allocations: 23.66 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/1.274, allocations: 5.594 kB / 1.091 GB, free: 2.297 MB / 0.8575 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.101e-05/1.274, allocations: 114.7 kB / 1.091 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/1.274, allocations: 6.719 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/1.274, allocations: 5.203 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/1.274, allocations: 1.641 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/1.274, allocations: 8.125 kB / 1.091 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.274, allocations: 0.6562 kB / 1.091 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/1.274, allocations: 177.4 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.274, allocations: 0 / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.339e-05/1.274, allocations: 3.578 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.274, allocations: 0 / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/1.274, allocations: 1.812 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.274, allocations: 1.125 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.274, allocations: 3.938 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/1.274, allocations: 96.97 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/1.275, allocations: 87.47 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/1.275, allocations: 6.031 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/1.275, allocations: 9.344 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/1.275, allocations: 2.797 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/1.275, allocations: 3.625 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.118e-05/1.275, allocations: 85.23 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/1.275, allocations: 0 / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001932/1.275, allocations: 14.97 kB / 1.092 GB, free: 1.684 MB / 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003801/1.275, allocations: 0.6341 MB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001341/1.276, allocations: 29.83 kB / 1.093 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.276, allocations: 0 / 1.093 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.654e-05/1.276, allocations: 19 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/1.276, allocations: 8.062 kB / 1.093 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/1.277, allocations: 1.163 MB / 1.094 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/1.277, allocations: 0.6797 MB / 1.094 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.631e-05/1.277, allocations: 5.578 kB / 1.094 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/1.277, allocations: 11.42 kB / 1.094 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of SimCode: time 1.9e-07/1.277, allocations: 96 / 1.094 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.14/3.417, allocations: 1.796 MB / 1.096 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/14.45, allocations: 8.547 kB / 1.096 GB, free: 14.82 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches