Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ConvertTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_latest_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.007784/0.007784, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.002052/0.002052, allocations: 196.8 kB / 16.67 MB, free: 5.977 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.539/2.539, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 64.12 kB / 1.054 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.419, allocations: 157.4 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003802/0.4228, allocations: 1.452 MB / 1.209 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005962/0.4235, allocations: 187.4 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.403e-05/0.4236, allocations: 0 / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.415e-05/0.4236, allocations: 11.94 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003788/0.424, allocations: 23.86 kB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.4243, allocations: 49.8 kB / 1.209 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.4244, allocations: 59.77 kB / 1.209 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.4246, allocations: 11.98 kB / 1.209 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.269e-05/0.4247, allocations: 23.92 kB / 1.209 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.4248, allocations: 23.91 kB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.4248, allocations: 4 kB / 1.209 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.843e-05/0.4249, allocations: 8 kB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.412e-05/0.4249, allocations: 15.92 kB / 1.209 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.626e-05/0.425, allocations: 19.92 kB / 1.209 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.4251, allocations: 56.08 kB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4251, allocations: 0 / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4252, allocations: 0 / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.4252, allocations: 0 / 1.209 GB, free: 8.152 MB / 0.9669 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.0006908/0.4259, allocations: 351.4 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.4259, allocations: 12.62 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.052e-05/0.426, allocations: 34.75 kB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.58e-05/0.4261, allocations: 4.844 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.4262, allocations: 172.4 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.4263, allocations: 4.375 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.4263, allocations: 8.25 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.4265, allocations: 76.81 kB / 1.21 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4265, allocations: 3.938 kB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.4266, allocations: 0 / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.4266, allocations: 4 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.407e-05/0.4266, allocations: 12 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.4271, allocations: 276.8 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.4273, allocations: 38.56 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/0.4273, allocations: 12.86 kB / 1.21 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.4273, allocations: 0 / 1.21 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.4276, allocations: 71.39 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 5.029e-06/0.4276, allocations: 0 / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002632/0.4279, allocations: 81.55 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/0.428, allocations: 102.8 kB / 1.21 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.4281, allocations: 109.8 kB / 1.21 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.4281, allocations: 29.7 kB / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.4282, allocations: 80.14 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.4282, allocations: 19.75 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.4283, allocations: 21.7 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4285, allocations: 322.8 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.875e-05/0.4285, allocations: 11.98 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.415e-05/0.4286, allocations: 30.58 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.271e-05/0.4287, allocations: 28.78 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4287, allocations: 0 / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001158/0.4288, allocations: 65.72 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4288, allocations: 5.562 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4288, allocations: 0 / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.4289, allocations: 4 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.429, allocations: 4 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.429, allocations: 0 / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.4291, allocations: 7.984 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.4291, allocations: 4 kB / 1.211 GB, free: 5.914 MB / 0.9669 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 0.0001281/0.4293, allocations: 121.7 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.4293, allocations: 7.906 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/0.4293, allocations: 7.484 kB / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4293, allocations: 4 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4293, allocations: 0 / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4294, allocations: 192 / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.4295, allocations: 173.6 kB / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4295, allocations: 0 / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/0.4296, allocations: 11.97 kB / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4296, allocations: 4.375 kB / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.4296, allocations: 0 / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4296, allocations: 4 kB / 1.211 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4296, allocations: 4 kB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.4298, allocations: 89.06 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.346e-05/0.4299, allocations: 93.03 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.4299, allocations: 0 / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.4301, allocations: 7.984 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.4301, allocations: 11.92 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.4301, allocations: 4 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.269e-05/0.4302, allocations: 83.28 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4302, allocations: 0 / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002106/0.4304, allocations: 15.91 kB / 1.212 GB, free: 5.188 MB / 0.9669 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.0005587/0.431, allocations: 0.6241 MB / 1.212 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.4311, allocations: 39.92 kB / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.4312, allocations: 0 / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-05/0.4312, allocations: 15.98 kB / 1.212 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.4314, allocations: 4 kB / 1.212 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.4328, allocations: 1.172 MB / 1.214 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.4332, allocations: 0.6807 MB / 1.214 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.755e-05/0.4332, allocations: 7.984 kB / 1.214 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.4333, allocations: 7.438 kB / 1.214 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of SimCode: time 2.484e-06/0.4333, allocations: 0 / 1.214 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.4557, allocations: 1.808 MB / 1.216 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/7.544, allocations: 10.33 kB / 1.216 GB, free: 0.8281 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches