Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 108 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.044/3.044, allocations: 497.2 MB / 0.7811 GB, free: 33.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 59.69 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3233, allocations: 173.9 MB / 1.304 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003846/0.3272, allocations: 2.055 MB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006067/0.3332, allocations: 4.085 MB / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.3334, allocations: 4 kB / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009592/0.3343, allocations: 210.8 kB / 1.31 GB, free: 11.12 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.3345, allocations: 63.48 kB / 1.31 GB, free: 11.06 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008513/0.3354, allocations: 263.3 kB / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006836/0.3361, allocations: 382.9 kB / 1.311 GB, free: 10.43 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.3362, allocations: 32.38 kB / 1.311 GB, free: 10.39 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.3364, allocations: 115.5 kB / 1.311 GB, free: 10.28 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.3366, allocations: 135.4 kB / 1.311 GB, free: 10.15 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.3366, allocations: 16 kB / 1.311 GB, free: 10.13 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005505/0.3372, allocations: 311.5 kB / 1.311 GB, free: 9.828 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.3373, allocations: 107.6 kB / 1.312 GB, free: 9.723 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.3375, allocations: 143.1 kB / 1.312 GB, free: 9.582 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007095/0.3382, allocations: 0.5097 MB / 1.312 GB, free: 9.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3382, allocations: 0 / 1.312 GB, free: 9.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3382, allocations: 4 kB / 1.312 GB, free: 9.066 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.3382, allocations: 0 / 1.312 GB, free: 9.066 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001498/0.3397, allocations: 0.7639 MB / 1.313 GB, free: 8.246 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3397, allocations: 8.922 kB / 1.313 GB, free: 8.238 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.185e-05/0.3398, allocations: 46.73 kB / 1.313 GB, free: 8.184 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.978e-05/0.3399, allocations: 40.66 kB / 1.313 GB, free: 8.145 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005861/0.3405, allocations: 338.6 kB / 1.313 GB, free: 7.781 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.3405, allocations: 8.375 kB / 1.313 GB, free: 7.773 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.3405, allocations: 8.375 kB / 1.313 GB, free: 7.766 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.341, allocations: 191.3 kB / 1.314 GB, free: 7.574 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.341, allocations: 0 / 1.314 GB, free: 7.574 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.3411, allocations: 12 kB / 1.314 GB, free: 7.562 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3411, allocations: 0 / 1.314 GB, free: 7.562 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006981/0.3418, allocations: 239.7 kB / 1.314 GB, free: 7.328 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.3429, allocations: 0.5978 MB / 1.314 GB, free: 6.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.3433, allocations: 174.3 kB / 1.315 GB, free: 6.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.3437, allocations: 128.8 kB / 1.315 GB, free: 6.371 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-05/0.3437, allocations: 16.22 kB / 1.315 GB, free: 6.355 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.258e-05/0.3438, allocations: 46.48 kB / 1.315 GB, free: 6.301 MB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.3438, allocations: 0 / 1.315 GB, free: 6.301 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.001277/0.3451, allocations: 433.3 kB / 1.315 GB, free: 5.871 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.3451, allocations: 63.28 kB / 1.315 GB, free: 5.797 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00049/0.3456, allocations: 413.6 kB / 1.316 GB, free: 5.383 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.3457, allocations: 25.7 kB / 1.316 GB, free: 5.352 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.3458, allocations: 180 kB / 1.316 GB, free: 5.172 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.3459, allocations: 35.69 kB / 1.316 GB, free: 5.137 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/0.3459, allocations: 49.69 kB / 1.316 GB, free: 5.082 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.3461, allocations: 338.8 kB / 1.316 GB, free: 4.742 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.3466, allocations: 175.8 kB / 1.316 GB, free: 4.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/0.347, allocations: 167.9 kB / 1.316 GB, free: 4.406 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008043/0.3478, allocations: 348 kB / 1.317 GB, free: 4.059 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3478, allocations: 4 kB / 1.317 GB, free: 4.055 MB / 1.014 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001072/0.3488, allocations: 472.7 kB / 1.317 GB, free: 3.582 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.509e-05/0.3489, allocations: 49.69 kB / 1.317 GB, free: 3.527 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3489, allocations: 3.984 kB / 1.317 GB, free: 3.523 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3489, allocations: 0 / 1.317 GB, free: 3.523 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.3492, allocations: 43.95 kB / 1.317 GB, free: 3.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3493, allocations: 3.938 kB / 1.317 GB, free: 3.477 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.3495, allocations: 39.78 kB / 1.317 GB, free: 3.438 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.3495, allocations: 4 kB / 1.317 GB, free: 3.434 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001851/0.3497, allocations: 157.8 kB / 1.318 GB, free: 3.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.3498, allocations: 35.77 kB / 1.318 GB, free: 3.234 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009275/0.3507, allocations: 352.5 kB / 1.318 GB, free: 2.887 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3507, allocations: 0 / 1.318 GB, free: 2.887 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3507, allocations: 3.938 kB / 1.318 GB, free: 2.883 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3507, allocations: 4 kB / 1.318 GB, free: 2.879 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.3512, allocations: 345.4 kB / 1.318 GB, free: 2.492 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3512, allocations: 0 / 1.318 GB, free: 2.492 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.3515, allocations: 47.94 kB / 1.318 GB, free: 2.445 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3515, allocations: 0 / 1.318 GB, free: 2.445 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.3516, allocations: 8 kB / 1.318 GB, free: 2.438 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3516, allocations: 0 / 1.318 GB, free: 2.438 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3516, allocations: 3.938 kB / 1.318 GB, free: 2.434 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000903/0.3525, allocations: 427.7 kB / 1.319 GB, free: 2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.3526, allocations: 128.8 kB / 1.319 GB, free: 1.855 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.3527, allocations: 0 / 1.319 GB, free: 1.855 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.3529, allocations: 19.97 kB / 1.319 GB, free: 1.836 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.538e-05/0.353, allocations: 31.84 kB / 1.319 GB, free: 1.805 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.353, allocations: 4 kB / 1.319 GB, free: 1.801 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003217/0.3534, allocations: 287.1 kB / 1.319 GB, free: 1.52 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3534, allocations: 0 / 1.319 GB, free: 1.52 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004895/0.3538, allocations: 119.8 kB / 1.319 GB, free: 1.402 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001539/0.3554, allocations: 1.032 MB / 1.32 GB, free: 352 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.3564, allocations: 459.1 kB / 1.321 GB, free: 15.88 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3564, allocations: 0 / 1.321 GB, free: 15.88 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.3568, allocations: 139.8 kB / 1.321 GB, free: 15.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.3574, allocations: 57.44 kB / 1.321 GB, free: 15.69 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006483/0.3639, allocations: 4.193 MB / 1.325 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.3643, allocations: 0.7905 MB / 1.326 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002265/0.3646, allocations: 49.45 kB / 1.326 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.3647, allocations: 107.4 kB / 1.326 GB, free: 10.43 MB / 1.029 GB Notification: Performance of SimCode: time 1.322e-06/0.3647, allocations: 0 / 1.326 GB, free: 10.43 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03649/0.4012, allocations: 8.368 MB / 1.334 GB, free: 2.266 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.648/9.049, allocations: 10.81 kB / 1.334 GB, free: 2.258 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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: 15.400359214283526]