Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.00683/0.006829, allocations: 102 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.001568/0.001568, allocations: 195.6 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 1.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.355 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 2.384/2.384, allocations: 390.3 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 62.78 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3302, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003211/0.3335, allocations: 1.608 MB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.3346, allocations: 0.5314 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.3347, allocations: 8 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.424e-05/0.3348, allocations: 11.86 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.3351, allocations: 35.77 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.3352, allocations: 43.88 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.3354, allocations: 111.5 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.3356, allocations: 23.97 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.3357, allocations: 51.83 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.3358, allocations: 43.83 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.3359, allocations: 8 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.811e-05/0.3359, allocations: 11.94 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.336, allocations: 27.91 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.768e-05/0.336, allocations: 39.8 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.3362, allocations: 95.11 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3362, allocations: 8 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3362, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3362, allocations: 0 / 1.09 GB, free: 15.34 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007736/0.337, allocations: 395.5 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3371, allocations: 8.031 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.18e-05/0.3371, allocations: 38.75 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.3372, allocations: 16.83 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.3373, allocations: 184.2 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3374, allocations: 4.375 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.3374, allocations: 8.375 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.3376, allocations: 89.7 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3376, allocations: 0 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.3376, allocations: 4 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3376, allocations: 3.938 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.3377, allocations: 47.95 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005604/0.3383, allocations: 352.5 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.3386, allocations: 102.7 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.537e-05/0.3387, allocations: 48.83 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.3388, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002648/0.339, allocations: 95.36 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.339, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0003446/0.3394, allocations: 157.4 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.3395, allocations: 55.41 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3396, allocations: 130.1 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.3396, allocations: 29.7 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.3397, allocations: 92.28 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.3397, allocations: 35.67 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/0.3398, allocations: 33.7 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3399, allocations: 318.8 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.999e-05/0.34, allocations: 23.98 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.609e-05/0.34, allocations: 31.98 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.3402, allocations: 67.34 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3402, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001868/0.3404, allocations: 113.5 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3404, allocations: 8 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3404, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3404, allocations: 4 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3406, allocations: 19.98 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3406, allocations: 0 / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.3407, allocations: 11.92 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.3407, allocations: 8 kB / 1.092 GB, free: 12.62 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001057/0.3408, allocations: 117.8 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.3408, allocations: 7.906 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.3411, allocations: 146 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3412, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3412, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.3412, allocations: 7.938 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.3414, allocations: 213.4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3414, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.527e-05/0.3415, allocations: 23.92 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3415, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3415, allocations: 4 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3415, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3415, allocations: 4 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.3418, allocations: 167.2 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.3418, allocations: 88.98 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3419, allocations: 8 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.971e-05/0.342, allocations: 4 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.342, allocations: 19.91 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.3421, allocations: 4 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.175e-05/0.3421, allocations: 99.27 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3422, allocations: 4 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002165/0.3424, allocations: 20 kB / 1.093 GB, free: 11.6 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005742/0.343, allocations: 0.6987 MB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.3432, allocations: 94.64 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3432, allocations: 0 / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.542e-05/0.3433, allocations: 51.92 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.3435, allocations: 11.94 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.3451, allocations: 1.458 MB / 1.096 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.3455, allocations: 0.6963 MB / 1.096 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.785e-05/0.3456, allocations: 12.56 kB / 1.096 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.783e-05/0.3456, allocations: 27.42 kB / 1.096 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3457, allocations: 0 / 1.096 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.3645, allocations: 2.302 MB / 1.099 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.864, allocations: 12.92 kB / 1.099 GB, free: 6.246 MB / 0.8575 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches