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.01044/0.01044, allocations: 99.53 kB / 15.73 MB, free: 6.477 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.002018/0.002018, allocations: 189.9 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.402/2.402, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.061/4.061, allocations: 390.2 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 62.81 kB / 0.9504 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3739, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.004628/0.3786, allocations: 1.489 MB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3799, allocations: 468.3 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.3801, allocations: 3.938 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.771e-05/0.3801, allocations: 0 / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004752/0.3807, allocations: 27.84 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.3809, allocations: 15.92 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.3811, allocations: 59.89 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.3813, allocations: 11.88 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.3815, allocations: 23.86 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.3817, allocations: 19.92 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.3817, allocations: 7.984 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.033e-05/0.3817, allocations: 4 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.731e-05/0.3818, allocations: 11.98 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.158e-05/0.3818, allocations: 19.88 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.382, allocations: 42.69 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.3821, allocations: 4 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.646e-06/0.3821, allocations: 0 / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.3821, allocations: 0 / 1.09 GB, free: 15.81 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.0008718/0.383, allocations: 348.2 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.383, allocations: 8.031 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.468e-05/0.3831, allocations: 42.67 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.3832, allocations: 8.844 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.3834, allocations: 168.4 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.3834, allocations: 384 / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.3834, allocations: 8.375 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.3836, allocations: 53.8 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3836, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.3837, allocations: 4 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3837, allocations: 0 / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.05e-05/0.3838, allocations: 19.98 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.3842, allocations: 284.6 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.3844, allocations: 42.58 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.309e-05/0.3845, allocations: 28.92 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.3845, allocations: 0 / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.3847, allocations: 67.33 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 4.349e-06/0.3848, allocations: 0 / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003084/0.3851, allocations: 81.61 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.3851, allocations: 51.41 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.3853, allocations: 117.8 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.3853, allocations: 25.7 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.3854, allocations: 88.14 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.3854, allocations: 7.812 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.3855, allocations: 21.7 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3856, allocations: 322.8 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.521e-05/0.3857, allocations: 12.23 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.783e-05/0.3857, allocations: 16 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.771e-05/0.3858, allocations: 32.8 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3858, allocations: 4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000157/0.386, allocations: 65.59 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.386, allocations: 4 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.386, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.386, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.886e-05/0.3861, allocations: 11.98 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3862, allocations: 320 / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.928e-05/0.3863, allocations: 4 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.3863, allocations: 0 / 1.091 GB, free: 13.66 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 0.0001223/0.3864, allocations: 129.7 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.3864, allocations: 4 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.3865, allocations: 11.95 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3865, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3865, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3865, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.3867, allocations: 185.4 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3867, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.026e-05/0.3868, allocations: 7.984 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3868, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3868, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3868, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3868, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.387, allocations: 97.25 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.3871, allocations: 92.94 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.3871, allocations: 7.875 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.3872, allocations: 4 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.3873, allocations: 11.98 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.3873, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.489e-05/0.3874, allocations: 87.28 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3874, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003063/0.3877, allocations: 8 kB / 1.092 GB, free: 12.92 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.000611/0.3883, allocations: 0.6325 MB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.3885, allocations: 39.92 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3885, allocations: 0 / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.316e-05/0.3886, allocations: 19.98 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.3888, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.3906, allocations: 1.223 MB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.391, allocations: 0.6807 MB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.825e-05/0.391, allocations: 0 / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.3911, allocations: 23.38 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.3911, allocations: 0 / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4335/0.8246, allocations: 1.542 MB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.45, allocations: 11.38 kB / 1.096 GB, free: 8.77 MB / 0.8575 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