Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.0009793/0.0009793, 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.0008025/0.0008025, 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.9029/0.9029, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.684/1.684, allocations: 359 MB / 0.6037 GB, free: 11.09 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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.095e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002452/0.002473, allocations: 1.962 MB / 0.9524 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003287/0.00576, allocations: 3.561 MB / 0.9559 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.00588, allocations: 4 kB / 0.9559 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.006167, allocations: 55.52 kB / 0.956 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.006471, allocations: 111.2 kB / 0.9561 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.006837, allocations: 167.5 kB / 0.9562 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000294/0.007131, allocations: 282.9 kB / 0.9565 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.007264, allocations: 28.58 kB / 0.9565 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.007484, allocations: 163.5 kB / 0.9567 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 9.486e-05/0.007579, allocations: 83.78 kB / 0.9568 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.007603, allocations: 16 kB / 0.9568 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.007763, allocations: 107.8 kB / 0.9569 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.007813, allocations: 47.83 kB / 0.9569 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.967e-05/0.007873, allocations: 67.77 kB / 0.957 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.008159, allocations: 314.9 kB / 0.9573 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.008162, allocations: 4 kB / 0.9573 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.263e-06/0.008163, allocations: 0 / 0.9573 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.008169, allocations: 0 / 0.9573 GB, free: 12.52 MB / 0.9167 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.0007191/0.008888, allocations: 0.5201 MB / 0.9578 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.008937, allocations: 12.03 kB / 0.9578 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.008981, allocations: 38.73 kB / 0.9578 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.009233, allocations: 68.73 kB / 0.9579 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.009624, allocations: 237.7 kB / 0.9581 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.009636, allocations: 8.375 kB / 0.9581 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.009653, allocations: 8.375 kB / 0.9581 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.00995, allocations: 168.1 kB / 0.9583 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.009958, allocations: 192 / 0.9583 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.009974, allocations: 15.94 kB / 0.9583 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.009979, allocations: 0 / 0.9583 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003687/0.01035, allocations: 187.8 kB / 0.9585 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/0.0109, allocations: 435.5 kB / 0.9589 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.01113, allocations: 114.5 kB / 0.959 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.01131, allocations: 104.8 kB / 0.9591 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003352/0.01165, allocations: 103.8 kB / 0.9592 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.01167, allocations: 42.56 kB / 0.9593 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.01167, allocations: 0 / 0.9593 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0006695/0.01234, allocations: 349.6 kB / 0.9596 GB, free: 10 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.01237, allocations: 55.39 kB / 0.9597 GB, free: 9.934 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.01253, allocations: 244.3 kB / 0.9599 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.01255, allocations: 25.7 kB / 0.9599 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.01261, allocations: 144.1 kB / 0.96 GB, free: 9.516 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.01265, allocations: 39.67 kB / 0.9601 GB, free: 9.477 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.01269, allocations: 25.7 kB / 0.9601 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.338e-05/0.01278, allocations: 338.8 kB / 0.9604 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.01295, allocations: 95.91 kB / 0.9605 GB, free: 9.012 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.01312, allocations: 99.84 kB / 0.9606 GB, free: 8.914 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.01345, allocations: 208.6 kB / 0.9608 GB, free: 8.707 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01345, allocations: 0 / 0.9608 GB, free: 8.707 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004626/0.01391, allocations: 257.4 kB / 0.9611 GB, free: 8.449 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01393, allocations: 4 kB / 0.9611 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01394, allocations: 0 / 0.9611 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.01395, allocations: 0 / 0.9611 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.01411, allocations: 55.88 kB / 0.9611 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.01411, allocations: 4 kB / 0.9611 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.978e-05/0.0142, allocations: 27.86 kB / 0.9612 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.01422, allocations: 11.92 kB / 0.9612 GB, free: 8.348 MB / 0.9167 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 (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 prepare postOptimizeDAE: time 8.31e-05/0.0143, allocations: 125.8 kB / 0.9613 GB, free: 8.215 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.01433, allocations: 23.86 kB / 0.9613 GB, free: 8.191 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004591/0.01478, allocations: 283.9 kB / 0.9616 GB, free: 7.902 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.01479, allocations: 4 kB / 0.9616 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01479, allocations: 4 kB / 0.9616 GB, free: 7.895 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.0148, allocations: 0 / 0.9616 GB, free: 7.895 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.01499, allocations: 232.5 kB / 0.9618 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01499, allocations: 4 kB / 0.9618 GB, free: 7.621 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.01511, allocations: 43.94 kB / 0.9619 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01511, allocations: 0 / 0.9619 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.01512, allocations: 0 / 0.9619 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01513, allocations: 4 kB / 0.9619 GB, free: 7.574 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01513, allocations: 3.984 kB / 0.9619 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004188/0.01555, allocations: 363.1 kB / 0.9622 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.0156, allocations: 39.78 kB / 0.9622 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.01562, allocations: 3.984 kB / 0.9622 GB, free: 7.156 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.01572, allocations: 27.97 kB / 0.9623 GB, free: 7.129 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.01578, allocations: 19.91 kB / 0.9623 GB, free: 7.109 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.01578, allocations: 4 kB / 0.9623 GB, free: 7.105 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 9.322e-05/0.01588, allocations: 179.1 kB / 0.9625 GB, free: 6.934 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01588, allocations: 0 / 0.9625 GB, free: 6.934 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002223/0.0161, allocations: 59.81 kB / 0.9625 GB, free: 6.875 MB / 0.9167 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.0006855/0.01679, allocations: 0.9307 MB / 0.9634 GB, free: 5.918 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004016/0.01719, allocations: 211.7 kB / 0.9636 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.01719, allocations: 7.938 kB / 0.9636 GB, free: 5.703 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.01737, allocations: 107.8 kB / 0.9637 GB, free: 5.598 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.01766, allocations: 39.16 kB / 0.9638 GB, free: 5.559 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.02002, allocations: 2.487 MB / 0.9662 GB, free: 2.988 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.884e-05/0.02011, allocations: 137.2 kB / 0.9663 GB, free: 2.832 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.02022, allocations: 40.59 kB / 0.9664 GB, free: 2.793 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/0.02031, allocations: 68.47 kB / 0.9664 GB, free: 2.723 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.02031, allocations: 0 / 0.9664 GB, free: 2.723 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.03964, allocations: 5.986 MB / 0.9723 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.014/7.054, allocations: 11.88 kB / 0.9723 GB, free: 12.91 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.110663234256208]