Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007841/0.0007841, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008236/0.0008236, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8742/0.8742, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.628/1.628, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.9505 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.725e-05, allocations: 10.22 kB / 0.9505 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002032/0.002059, allocations: 1.58 MB / 0.9521 GB, free: 0.7422 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008037/0.002863, allocations: 0.5654 MB / 0.9526 GB, free: 176 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.002917, allocations: 0 / 0.9526 GB, free: 176 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.002951, allocations: 11.86 kB / 0.9526 GB, free: 164 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.003199, allocations: 43.66 kB / 0.9527 GB, free: 120 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.003339, allocations: 47.81 kB / 0.9527 GB, free: 72 kB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.003475, allocations: 127.7 kB / 0.9528 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.00359, allocations: 12.22 kB / 0.9529 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.003768, allocations: 75.88 kB / 0.9529 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.725e-05/0.003855, allocations: 43.86 kB / 0.953 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.003874, allocations: 8 kB / 0.953 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.968e-05/0.003924, allocations: 23.98 kB / 0.953 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.003946, allocations: 23.92 kB / 0.953 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.003989, allocations: 43.83 kB / 0.9531 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.004135, allocations: 119.6 kB / 0.9532 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004137, allocations: 0 / 0.9532 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.034e-06/0.004139, allocations: 0 / 0.9532 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.004144, allocations: 0 / 0.9532 GB, free: 15.59 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005945/0.004739, allocations: 337.9 kB / 0.9535 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.004778, allocations: 16.02 kB / 0.9535 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.004811, allocations: 42.69 kB / 0.9536 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.004918, allocations: 28.81 kB / 0.9536 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.031e-05/0.005008, allocations: 117.7 kB / 0.9537 GB, free: 15 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.005024, allocations: 8.375 kB / 0.9537 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.005039, allocations: 16.34 kB / 0.9537 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.005171, allocations: 86.2 kB / 0.9538 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.005178, allocations: 192 / 0.9538 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.005191, allocations: 8.125 kB / 0.9538 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.0052, allocations: 4 kB / 0.9538 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.247e-05/0.005283, allocations: 55.91 kB / 0.9539 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.005721, allocations: 315.8 kB / 0.9542 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.005942, allocations: 122.7 kB / 0.9543 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.005997, allocations: 40.84 kB / 0.9543 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.006013, allocations: 4 kB / 0.9543 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.006197, allocations: 107.2 kB / 0.9544 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.006198, allocations: 0 / 0.9544 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0002555/0.006453, allocations: 161.5 kB / 0.9546 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.006492, allocations: 63.41 kB / 0.9546 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.899e-05/0.006561, allocations: 117.8 kB / 0.9548 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.006577, allocations: 33.7 kB / 0.9548 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.006619, allocations: 100 kB / 0.9549 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.006651, allocations: 47.61 kB / 0.9549 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.00669, allocations: 33.86 kB / 0.955 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.006902, allocations: 322.8 kB / 0.9553 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.356e-05/0.006955, allocations: 39.89 kB / 0.9553 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.597e-05/0.007001, allocations: 38.95 kB / 0.9553 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.985e-05/0.007101, allocations: 88.78 kB / 0.9554 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.007103, allocations: 0 / 0.9554 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001466/0.00725, allocations: 140.2 kB / 0.9556 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.007264, allocations: 8 kB / 0.9556 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.007269, allocations: 3.938 kB / 0.9556 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.00728, allocations: 0 / 0.9556 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.6e-05/0.007356, allocations: 19.98 kB / 0.9556 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.007362, allocations: 3.984 kB / 0.9556 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.769e-05/0.00742, allocations: 23.83 kB / 0.9556 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.007428, allocations: 0 / 0.9556 GB, free: 12.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (eqnTim.k,$PRE.eqnTim.k,eqnTim.tNext,$PRE.eqnTim.tNext,locTim.k,$PRE.locTim.k,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 (18): * Single equations (assignments): 18 * 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 6.798e-05/0.007496, allocations: 129.8 kB / 0.9557 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.007507, allocations: 11.95 kB / 0.9558 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.007702, allocations: 154.1 kB / 0.9559 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.007704, allocations: 0 / 0.9559 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.007708, allocations: 0 / 0.9559 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.007712, allocations: 7.922 kB / 0.9559 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.008051, allocations: 423.4 kB / 0.9563 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.008053, allocations: 0 / 0.9563 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.974e-05/0.008103, allocations: 16 kB / 0.9563 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.008106, allocations: 0 / 0.9563 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.008115, allocations: 7.922 kB / 0.9563 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.008117, allocations: 8 kB / 0.9563 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.008118, allocations: 0 / 0.9563 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.008281, allocations: 247.3 kB / 0.9566 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.008294, allocations: 11.89 kB / 0.9566 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.008311, allocations: 4 kB / 0.9566 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.008376, allocations: 11.98 kB / 0.9566 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.008419, allocations: 23.91 kB / 0.9566 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-06/0.008426, allocations: 4 kB / 0.9566 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.492e-05/0.008471, allocations: 103.2 kB / 0.9567 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008471, allocations: 0 / 0.9567 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001567/0.008628, allocations: 31.95 kB / 0.9568 GB, free: 11.65 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,locTim.tNext,locTim.k,eqnTim.tNext,eqnTim.k) * Number of discrete states: 4 (locTim.tNext,eqnTim.tNext,eqnTim.k,locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003585/0.008986, allocations: 0.7849 MB / 0.9575 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.009146, allocations: 99.89 kB / 0.9576 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.009148, allocations: 0 / 0.9576 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.865e-05/0.009206, allocations: 51.83 kB / 0.9577 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.009367, allocations: 15.05 kB / 0.9577 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.01073, allocations: 1.605 MB / 0.9593 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.721e-05/0.01078, allocations: 101.2 kB / 0.9593 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.984e-05/0.01082, allocations: 4.984 kB / 0.9594 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.01089, allocations: 36.48 kB / 0.9594 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of SimCode: time 9.12e-07/0.01089, allocations: 3.938 kB / 0.9594 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.02853, allocations: 3.159 MB / 0.9625 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.06/7.089, allocations: 9.5 kB / 0.9625 GB, free: 5.82 MB / 0.8698 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=172.765 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.908122665248811]