Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001701/0.001701, allocations: 107.5 kB / 16.4 MB, free: 6.496 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.001794/0.001795, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.423/1.423, allocations: 222.9 MB / 245.1 MB, free: 15.02 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 2.999/2.999, allocations: 489 MB / 0.7678 GB, free: 29.02 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.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 64.03 kB / 1.101 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7107/0.7126, allocations: 163.8 MB / 1.261 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003282/0.716, allocations: 1.887 MB / 1.263 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004543/0.7205, allocations: 3.598 MB / 1.266 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.7207, allocations: 0 / 1.266 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007996/0.7215, allocations: 194.3 kB / 1.267 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.7217, allocations: 79.45 kB / 1.267 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.207e-05/0.7218, allocations: 19.97 kB / 1.267 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004577/0.7223, allocations: 271.1 kB / 1.267 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.7224, allocations: 21.55 kB / 1.267 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.7225, allocations: 87.69 kB / 1.267 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.7227, allocations: 71.64 kB / 1.267 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.7227, allocations: 8 kB / 1.267 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.122e-05/0.7228, allocations: 31.97 kB / 1.267 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.7229, allocations: 55.81 kB / 1.267 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.402e-05/0.723, allocations: 83.42 kB / 1.267 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.7232, allocations: 197.8 kB / 1.267 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7233, allocations: 4 kB / 1.267 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7233, allocations: 0 / 1.267 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.7233, allocations: 0 / 1.267 GB, free: 0.6172 MB / 0.9669 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.0009047/0.7242, allocations: 0.537 MB / 1.268 GB, free: 32 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.7242, allocations: 8.031 kB / 1.268 GB, free: 24 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.166e-05/0.7243, allocations: 38.75 kB / 1.268 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.7243, allocations: 20.8 kB / 1.268 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.7247, allocations: 255.8 kB / 1.268 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.7247, allocations: 8.375 kB / 1.268 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.7247, allocations: 384 / 1.268 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.7251, allocations: 151.5 kB / 1.268 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.7251, allocations: 0 / 1.268 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.7251, allocations: 0 / 1.268 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.7252, allocations: 11.98 kB / 1.268 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.7256, allocations: 151.7 kB / 1.269 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000723/0.7264, allocations: 444.6 kB / 1.269 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/0.7268, allocations: 170.5 kB / 1.269 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.7271, allocations: 112.7 kB / 1.269 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.7271, allocations: 3.984 kB / 1.269 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.7272, allocations: 34.5 kB / 1.269 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.7272, allocations: 4 kB / 1.269 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0008932/0.7281, allocations: 297.6 kB / 1.27 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.7281, allocations: 55.41 kB / 1.27 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.7284, allocations: 246.7 kB / 1.27 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.7284, allocations: 29.7 kB / 1.27 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.7285, allocations: 136 kB / 1.27 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.7286, allocations: 43.64 kB / 1.27 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.7287, allocations: 29.7 kB / 1.27 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.7288, allocations: 338.8 kB / 1.27 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.7291, allocations: 75.94 kB / 1.271 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.7293, allocations: 83.86 kB / 1.271 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/0.7298, allocations: 163.4 kB / 1.271 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7298, allocations: 4 kB / 1.271 GB, free: 13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005744/0.7304, allocations: 217.4 kB / 1.271 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.7304, allocations: 4 kB / 1.271 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.7304, allocations: 0 / 1.271 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.7304, allocations: 4 kB / 1.271 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.7307, allocations: 43.89 kB / 1.271 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.7307, allocations: 0 / 1.271 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.7309, allocations: 23.88 kB / 1.271 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.7309, allocations: 7.938 kB / 1.271 GB, free: 12.7 MB / 0.9825 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 (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.000133/0.7311, allocations: 137.8 kB / 1.271 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.7311, allocations: 23.86 kB / 1.271 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.957e-05/0.7312, allocations: 25.83 kB / 1.271 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.7312, allocations: 8 kB / 1.271 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7312, allocations: 0 / 1.271 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.7312, allocations: 0 / 1.271 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.7316, allocations: 273.5 kB / 1.272 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7316, allocations: 0 / 1.272 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.7318, allocations: 39.89 kB / 1.272 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.7318, allocations: 7.984 kB / 1.272 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.7318, allocations: 4 kB / 1.272 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7319, allocations: 0 / 1.272 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7319, allocations: 0 / 1.272 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006476/0.7325, allocations: 327.2 kB / 1.272 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.7326, allocations: 116.9 kB / 1.272 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.7327, allocations: 4 kB / 1.272 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.7329, allocations: 15.98 kB / 1.272 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.7329, allocations: 15.98 kB / 1.272 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.733, allocations: 7.922 kB / 1.272 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001823/0.7332, allocations: 185.9 kB / 1.272 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7332, allocations: 0 / 1.272 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002832/0.7335, allocations: 36 kB / 1.272 GB, free: 11.4 MB / 0.9825 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.0009895/0.7344, allocations: 0.8561 MB / 1.273 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005566/0.735, allocations: 183.8 kB / 1.273 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.735, allocations: 3.938 kB / 1.273 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.7353, allocations: 91.88 kB / 1.273 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.7358, allocations: 63.34 kB / 1.273 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.7392, allocations: 2.408 MB / 1.276 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.7396, allocations: 0.7396 MB / 1.276 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001822/0.7398, allocations: 49.38 kB / 1.277 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.7399, allocations: 59.41 kB / 1.277 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.7399, allocations: 4 kB / 1.277 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.7666, allocations: 4.829 MB / 1.281 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.957, allocations: 16.5 kB / 1.281 GB, free: 2.168 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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: 14.75931389303878]