Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001548/0.001548, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001934/0.001934, allocations: 218.2 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.161/3.161, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 66.33 kB / 1.17 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3427, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003128/0.3458, allocations: 1.595 MB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.347, allocations: 0.5533 MB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.347, allocations: 0 / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.772e-05/0.3471, allocations: 11.86 kB / 1.347 GB, free: 13.76 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.3473, allocations: 41.91 kB / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.3475, allocations: 43.88 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.3477, allocations: 115.5 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3478, allocations: 23.92 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.348, allocations: 55.77 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.3481, allocations: 51.81 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.3481, allocations: 12 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.953e-05/0.3482, allocations: 16 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.229e-05/0.3482, allocations: 19.92 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.3483, allocations: 43.84 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.3485, allocations: 111.5 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3485, allocations: 0 / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3485, allocations: 0 / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.3485, allocations: 0 / 1.348 GB, free: 13.24 MB / 1.045 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.0007677/0.3493, allocations: 334 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3493, allocations: 8.031 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.696e-05/0.3493, allocations: 4.188 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.3494, allocations: 34.75 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.3495, allocations: 16.88 kB / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3497, allocations: 122.4 kB / 1.348 GB, free: 12.67 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.3497, allocations: 4.375 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.3497, allocations: 8.359 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.3499, allocations: 89.53 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3499, allocations: 4 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.3499, allocations: 7.984 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.35, allocations: 0 / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.3501, allocations: 47.97 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.3506, allocations: 299.7 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.3509, allocations: 94.72 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.237e-05/0.351, allocations: 40.84 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.351, allocations: 3.984 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.3513, allocations: 111.2 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.3513, allocations: 4 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0003614/0.3516, allocations: 145.6 kB / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.3517, allocations: 51.41 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3518, allocations: 125.8 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3518, allocations: 29.7 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.3519, allocations: 100.2 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.3519, allocations: 35.83 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.352, allocations: 29.66 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3521, allocations: 318.8 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.385e-05/0.3522, allocations: 31.92 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.198e-05/0.3522, allocations: 35.98 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.3524, allocations: 63.47 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3524, allocations: 0 / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001925/0.3526, allocations: 109.6 kB / 1.35 GB, free: 10.78 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3526, allocations: 4 kB / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3526, allocations: 3.984 kB / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3526, allocations: 4 kB / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3527, allocations: 23.92 kB / 1.35 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.3527, allocations: 3.938 kB / 1.35 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.3528, allocations: 15.92 kB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.3529, allocations: 4 kB / 1.35 GB, free: 10.72 MB / 1.045 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.0001151/0.353, allocations: 121.8 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.353, allocations: 7.953 kB / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.3533, allocations: 149.9 kB / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3533, allocations: 0 / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.3533, allocations: 7.938 kB / 1.35 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3533, allocations: 0 / 1.35 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.3535, allocations: 168.7 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3535, allocations: 0 / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.413e-05/0.3536, allocations: 23.98 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3536, allocations: 0 / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3536, allocations: 0 / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.3536, allocations: 4 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3536, allocations: 3.938 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.3539, allocations: 160.2 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.3539, allocations: 19.88 kB / 1.351 GB, free: 9.992 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.3539, allocations: 8 kB / 1.351 GB, free: 9.984 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.354, allocations: 7.938 kB / 1.351 GB, free: 9.977 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.3541, allocations: 19.91 kB / 1.351 GB, free: 9.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.3541, allocations: 4 kB / 1.351 GB, free: 9.953 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.277e-05/0.3542, allocations: 103.3 kB / 1.351 GB, free: 9.852 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3542, allocations: 0 / 1.351 GB, free: 9.852 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002385/0.3544, allocations: 24 kB / 1.351 GB, free: 9.828 MB / 1.045 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.0006015/0.355, allocations: 0.6983 MB / 1.352 GB, free: 9.102 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.3552, allocations: 75.97 kB / 1.352 GB, free: 9.027 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.3552, allocations: 0 / 1.352 GB, free: 9.027 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.458e-05/0.3553, allocations: 47.92 kB / 1.352 GB, free: 8.98 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.3555, allocations: 20.98 kB / 1.352 GB, free: 8.961 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.3572, allocations: 1.45 MB / 1.353 GB, free: 7.422 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.482e-05/0.3572, allocations: 87.12 kB / 1.353 GB, free: 7.316 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.753e-05/0.3573, allocations: 12.48 kB / 1.353 GB, free: 7.305 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.548e-05/0.3574, allocations: 35.42 kB / 1.353 GB, free: 7.27 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.3574, allocations: 0 / 1.353 GB, free: 7.27 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.3797, allocations: 2.515 MB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.91, allocations: 12 kB / 1.356 GB, free: 4.895 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=172.765 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.65537587599829]