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.005503/0.005503, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001245/0.001245, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.194/2.194, allocations: 390.3 MB / 0.6648 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 63.91 kB / 0.9504 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.911/0.9132, allocations: 140.4 MB / 1.087 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002315/0.9156, allocations: 1.482 MB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006644/0.9163, allocations: 472.2 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/0.9163, allocations: 0 / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.9163, allocations: 9.734 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.9166, allocations: 25.17 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.293e-05/0.9167, allocations: 22.72 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.247e-05/0.9168, allocations: 50.84 kB / 1.089 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.537e-05/0.9169, allocations: 6.312 kB / 1.089 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.584e-05/0.9169, allocations: 24.47 kB / 1.089 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.718e-05/0.917, allocations: 25.67 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.917, allocations: 7.594 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.9171, allocations: 3.031 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.9171, allocations: 15.91 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.9171, allocations: 16.89 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.122e-05/0.9172, allocations: 47.84 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9172, allocations: 0 / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9173, allocations: 0 / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.9173, allocations: 1.062 kB / 1.09 GB, free: 3.766 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.0004512/0.9177, allocations: 358.1 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.9178, allocations: 10.67 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.592e-05/0.9178, allocations: 32.23 kB / 1.09 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.9178, allocations: 7.781 kB / 1.09 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.99e-05/0.9179, allocations: 173.4 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.9179, allocations: 10.59 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.9179, allocations: 3.344 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.608e-05/0.918, allocations: 53.09 kB / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.9181, allocations: 0 / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.9181, allocations: 1.438 kB / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.9181, allocations: 4 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.872e-05/0.9181, allocations: 17.59 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.9184, allocations: 275.2 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.105e-05/0.9185, allocations: 47.38 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4e-05/0.9186, allocations: 24.59 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.9186, allocations: 0.5625 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.9187, allocations: 67.41 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.9187, allocations: 1.125 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0001975/0.919, allocations: 84.8 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.919, allocations: 53.17 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.9191, allocations: 108.2 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.9191, allocations: 26.61 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/0.9191, allocations: 87.02 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.9191, allocations: 18.86 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.9192, allocations: 18.61 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.9192, allocations: 322.9 kB / 1.091 GB, free: 2 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/0.9192, allocations: 11.19 kB / 1.091 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.353e-05/0.9193, allocations: 12 kB / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.174e-05/0.9193, allocations: 35.84 kB / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9193, allocations: 0 / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.416e-05/0.9194, allocations: 63.28 kB / 1.091 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.9195, allocations: 6 kB / 1.091 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.9195, allocations: 0 / 1.091 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.9195, allocations: 5.672 kB / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.869e-05/0.9196, allocations: 11.22 kB / 1.091 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.9196, allocations: 1.219 kB / 1.091 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.618e-05/0.9196, allocations: 7.312 kB / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.9196, allocations: 1.875 kB / 1.091 GB, free: 1.914 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.475e-05/0.9197, allocations: 119.1 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.9197, allocations: 1.188 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.9197, allocations: 9.828 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.9197, allocations: 9.031 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9198, allocations: 1.688 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.9198, allocations: 0 / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.828e-05/0.9199, allocations: 181.1 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9199, allocations: 1.094 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.9199, allocations: 8.75 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.9199, allocations: 0 / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.9199, allocations: 6.531 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.9199, allocations: 0 / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9199, allocations: 1 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.92, allocations: 94.95 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.362e-05/0.9201, allocations: 84.52 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.9201, allocations: 5.828 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.571e-05/0.9202, allocations: 3.141 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.9202, allocations: 4.094 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.9202, allocations: 2.844 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.566e-05/0.9203, allocations: 96.86 kB / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9203, allocations: 0 / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001811/0.9204, allocations: 13.38 kB / 1.092 GB, free: 1.281 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.0002872/0.9207, allocations: 0.6328 MB / 1.093 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.9209, allocations: 35.56 kB / 1.093 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.9209, allocations: 1.062 kB / 1.093 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.9209, allocations: 16.09 kB / 1.093 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.9211, allocations: 16 kB / 1.093 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.9221, allocations: 1.216 MB / 1.094 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.9223, allocations: 0.682 MB / 1.095 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.665e-05/0.9224, allocations: 3.516 kB / 1.095 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.9224, allocations: 15.02 kB / 1.095 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.9224, allocations: 0.5312 kB / 1.095 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.9405, allocations: 1.527 MB / 1.096 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/8.356, allocations: 11.75 kB / 1.096 GB, free: 14.43 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 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.mat","/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