Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001388/0.001388, allocations: 111.6 kB / 16.46 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.001545/0.001545, allocations: 192.5 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.466/1.466, 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 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 1.056 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8984/0.9004, allocations: 160.7 MB / 1.213 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00407/0.9044, allocations: 2.17 MB / 1.215 GB, free: 2.145 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005389/0.9098, allocations: 3.824 MB / 1.219 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.91, allocations: 1.75 kB / 1.219 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.9103, allocations: 57.66 kB / 1.219 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005151/0.9109, allocations: 119.8 kB / 1.219 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.9114, allocations: 156.5 kB / 1.219 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004575/0.9118, allocations: 310 kB / 1.219 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.912, allocations: 44.91 kB / 1.219 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/0.9122, allocations: 133.9 kB / 1.22 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.9125, allocations: 144.8 kB / 1.22 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.9125, allocations: 23.94 kB / 1.22 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.9128, allocations: 134 kB / 1.22 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.016e-05/0.9129, allocations: 57.66 kB / 1.22 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.913, allocations: 127.2 kB / 1.22 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005008/0.9135, allocations: 340.2 kB / 1.22 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.9135, allocations: 0 / 1.22 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9135, allocations: 5.156 kB / 1.22 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.9135, allocations: 0 / 1.22 GB, free: 13.95 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001395/0.9149, allocations: 0.6328 MB / 1.221 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.915, allocations: 10.44 kB / 1.221 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.809e-05/0.9151, allocations: 49.02 kB / 1.221 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009249/0.916, allocations: 178.2 kB / 1.221 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007844/0.9168, allocations: 315.6 kB / 1.221 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.9168, allocations: 16.5 kB / 1.221 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.9168, allocations: 14.38 kB / 1.222 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006943/0.9175, allocations: 222.9 kB / 1.222 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.9175, allocations: 0 / 1.222 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.9175, allocations: 9.094 kB / 1.222 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.9176, allocations: 2.156 kB / 1.222 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.9186, allocations: 280.8 kB / 1.222 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.92, allocations: 0.5781 MB / 1.223 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005593/0.9206, allocations: 158 kB / 1.223 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00051/0.9211, allocations: 150.5 kB / 1.223 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000938/0.922, allocations: 0.5484 MB / 1.223 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.9221, allocations: 32.53 kB / 1.223 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.9221, allocations: 4 kB / 1.223 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.001676/0.9237, allocations: 491.9 kB / 1.224 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.9238, allocations: 52.97 kB / 1.224 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.9241, allocations: 267.8 kB / 1.224 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.9241, allocations: 33.69 kB / 1.224 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.9242, allocations: 151.9 kB / 1.224 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.9243, allocations: 45.58 kB / 1.224 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.415e-05/0.9244, allocations: 34.17 kB / 1.224 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.9245, allocations: 341.3 kB / 1.225 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005049/0.9251, allocations: 146.6 kB / 1.225 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/0.9255, allocations: 151.8 kB / 1.225 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009613/0.9265, allocations: 288 kB / 1.225 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9265, allocations: 1.281 kB / 1.225 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001117/0.9276, allocations: 373.8 kB / 1.226 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.9276, allocations: 5.344 kB / 1.226 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.9276, allocations: 0 / 1.226 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.9277, allocations: 5.344 kB / 1.226 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.9281, allocations: 69.84 kB / 1.226 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.9281, allocations: 5.25 kB / 1.226 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.9285, allocations: 44.81 kB / 1.226 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.9285, allocations: 15.86 kB / 1.226 GB, free: 9.73 MB / 0.9356 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 (17): * Single equations (assignments): 17 * 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.000153/0.9287, allocations: 135 kB / 1.226 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.9287, allocations: 24.45 kB / 1.226 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.9299, allocations: 377.3 kB / 1.226 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.9299, allocations: 5.375 kB / 1.226 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.9299, allocations: 0 / 1.226 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.9299, allocations: 7.938 kB / 1.226 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.9303, allocations: 301.2 kB / 1.227 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.9303, allocations: 5.062 kB / 1.227 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.9307, allocations: 56.73 kB / 1.227 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.9307, allocations: 1.156 kB / 1.227 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.9307, allocations: 13.23 kB / 1.227 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.9307, allocations: 1.156 kB / 1.227 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.9307, allocations: 0 / 1.227 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.9318, allocations: 450.4 kB / 1.227 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.932, allocations: 123.4 kB / 1.227 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.932, allocations: 1.406 kB / 1.227 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.9323, allocations: 47.44 kB / 1.227 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.32e-05/0.9324, allocations: 22.03 kB / 1.227 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.9324, allocations: 7.297 kB / 1.227 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001839/0.9326, allocations: 186.2 kB / 1.228 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.9326, allocations: 0 / 1.228 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003526/0.933, allocations: 70.3 kB / 1.228 GB, free: 8.414 MB / 0.9356 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 (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 Backend phase and start with SimCode phase: time 0.001547/0.9345, allocations: 0.9988 MB / 1.229 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.9356, allocations: 314 kB / 1.229 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9356, allocations: 7.938 kB / 1.229 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005268/0.9361, allocations: 161.3 kB / 1.229 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.9366, allocations: 30.64 kB / 1.229 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00536/0.9419, allocations: 2.895 MB / 1.232 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.9423, allocations: 0.7551 MB / 1.233 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002396/0.9426, allocations: 45.38 kB / 1.233 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.9428, allocations: 79.39 kB / 1.233 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of SimCode: time 8.12e-07/0.9428, allocations: 7.938 kB / 1.233 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.9716, allocations: 5.849 MB / 1.238 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/9.196, allocations: 10.7 kB / 1.238 GB, free: 13.65 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.000440767034888]