Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.005444/0.005444, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.0013/0.0013, allocations: 194.6 kB / 16.67 MB, free: 5.52 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.17 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 2.123/2.123, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7132/0.7144, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002234/0.7167, allocations: 1.481 MB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006455/0.7173, allocations: 477.9 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.7174, allocations: 0.875 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.7174, allocations: 5.297 kB / 1.089 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.7176, allocations: 25.55 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.749e-05/0.7177, allocations: 22.91 kB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.847e-05/0.7178, allocations: 50.62 kB / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.128e-05/0.7179, allocations: 5.719 kB / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.572e-05/0.718, allocations: 28.3 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.349e-05/0.7181, allocations: 25.8 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.7181, allocations: 3.781 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.7181, allocations: 3.375 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.7181, allocations: 12.61 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.7182, allocations: 16.56 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.128e-05/0.7183, allocations: 47.28 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7183, allocations: 0.6562 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7183, allocations: 0 / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.7183, allocations: 0 / 1.09 GB, free: 3.816 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.0004492/0.7187, allocations: 354.7 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.7188, allocations: 9.469 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.441e-05/0.7188, allocations: 33.44 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.7188, allocations: 7.375 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.823e-05/0.7189, allocations: 174.3 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.7189, allocations: 10.08 kB / 1.09 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.719, allocations: 2.594 kB / 1.09 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.859e-05/0.7191, allocations: 57.06 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.7191, allocations: 1.094 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.7191, allocations: 0.75 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.7191, allocations: 1.062 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.819e-05/0.7192, allocations: 17.14 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.7194, allocations: 275.7 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.384e-05/0.7195, allocations: 46.05 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.7196, allocations: 28.33 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.7196, allocations: 1.125 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.7197, allocations: 60.56 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.7198, allocations: 0 / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0001986/0.72, allocations: 84.86 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.72, allocations: 56.7 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.7201, allocations: 116.8 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.7201, allocations: 26.8 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.245e-05/0.7201, allocations: 86.02 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.7201, allocations: 19.17 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.7202, allocations: 16.16 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.166e-05/0.7202, allocations: 321.2 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.998e-05/0.7203, allocations: 12.12 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.478e-05/0.7203, allocations: 17.52 kB / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.513e-05/0.7204, allocations: 39.42 kB / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7204, allocations: 0 / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.329e-05/0.7205, allocations: 62.22 kB / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.7205, allocations: 5.594 kB / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.7205, allocations: 1.344 kB / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.7205, allocations: 0.5625 kB / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.7206, allocations: 11.27 kB / 1.091 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.7206, allocations: 1.672 kB / 1.091 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.901e-05/0.7206, allocations: 4.062 kB / 1.091 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.7207, allocations: 4.781 kB / 1.091 GB, free: 1.961 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 5.346e-05/0.7207, allocations: 125.9 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.7207, allocations: 2.625 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.7208, allocations: 6.516 kB / 1.092 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.7208, allocations: 0 / 1.092 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.7208, allocations: 5.312 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7208, allocations: 0.7969 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.494e-05/0.7209, allocations: 177.1 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7209, allocations: 0 / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.903e-05/0.7209, allocations: 8.891 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.7209, allocations: 0.8125 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.7209, allocations: 5.859 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7209, allocations: 0 / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7209, allocations: 1.25 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.7211, allocations: 90.97 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.7211, allocations: 84.66 kB / 1.092 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.7211, allocations: 9.875 kB / 1.092 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.844e-05/0.7212, allocations: 6.734 kB / 1.092 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.7212, allocations: 13.14 kB / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.7212, allocations: 2.297 kB / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.494e-05/0.7213, allocations: 88.12 kB / 1.092 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7213, allocations: 0 / 1.092 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000195/0.7215, allocations: 10.53 kB / 1.092 GB, free: 1.332 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0002742/0.7218, allocations: 0.6355 MB / 1.093 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.7219, allocations: 36.34 kB / 1.093 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.7219, allocations: 0 / 1.093 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.497e-05/0.7219, allocations: 16.38 kB / 1.093 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.7221, allocations: 7.641 kB / 1.093 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.7232, allocations: 1.213 MB / 1.094 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.7234, allocations: 0.6804 MB / 1.095 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.7234, allocations: 7.75 kB / 1.095 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.7235, allocations: 15.42 kB / 1.095 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.7235, allocations: 0 / 1.095 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.7391, allocations: 1.518 MB / 1.096 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.998/7.737, allocations: 9.078 kB / 1.096 GB, free: 14.49 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches