Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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.000792/0.000792, 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.0008517/0.0008517, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8689/0.8689, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.672/1.672, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0 / 0.9809 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.9e-05, allocations: 4.812 kB / 0.9809 GB, free: 2.633 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.002592/0.002621, allocations: 1.88 MB / 0.9827 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009801/0.003601, allocations: 0.643 MB / 0.9834 GB, free: 96 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.71e-05/0.003688, allocations: 4 kB / 0.9834 GB, free: 92 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.003933, allocations: 51.64 kB / 0.9834 GB, free: 40 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.004192, allocations: 75.45 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.004376, allocations: 83.73 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.004843, allocations: 0.7057 MB / 0.9843 GB, free: 15.18 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.004953, allocations: 21.3 kB / 0.9843 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.005271, allocations: 323.6 kB / 0.9846 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.005524, allocations: 255.4 kB / 0.9848 GB, free: 14.59 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.00557, allocations: 44 kB / 0.9849 GB, free: 14.55 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.602e-05/0.005646, allocations: 59.92 kB / 0.9849 GB, free: 14.49 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.005782, allocations: 187.6 kB / 0.9851 GB, free: 14.3 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.005894, allocations: 175.6 kB / 0.9853 GB, free: 14.13 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.00626, allocations: 0.5611 MB / 0.9858 GB, free: 13.57 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.006262, allocations: 0 / 0.9858 GB, free: 13.57 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.71e-07/0.006263, allocations: 0 / 0.9858 GB, free: 13.57 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.006268, allocations: 0 / 0.9858 GB, free: 13.57 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001064/0.007331, allocations: 0.6922 MB / 0.9865 GB, free: 12.85 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.007369, allocations: 8.031 kB / 0.9865 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.007407, allocations: 46.75 kB / 0.9866 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009696/0.008377, allocations: 232.5 kB / 0.9868 GB, free: 12.56 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.008709, allocations: 257.2 kB / 0.987 GB, free: 12.28 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.008724, allocations: 16.61 kB / 0.987 GB, free: 12.26 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.008771, allocations: 32.38 kB / 0.9871 GB, free: 12.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.008977, allocations: 180.5 kB / 0.9872 GB, free: 12.05 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.008984, allocations: 0 / 0.9872 GB, free: 12.05 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.008996, allocations: 8 kB / 0.9873 GB, free: 12.04 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.009001, allocations: 4 kB / 0.9873 GB, free: 12.04 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.009155, allocations: 148.5 kB / 0.9874 GB, free: 11.89 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.01107, allocations: 1.031 MB / 0.9884 GB, free: 10.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007146/0.01178, allocations: 464 kB / 0.9889 GB, free: 10.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.01189, allocations: 108.8 kB / 0.989 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.01191, allocations: 0 / 0.989 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.01193, allocations: 42.56 kB / 0.989 GB, free: 10.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.01193, allocations: 0 / 0.989 GB, free: 10.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0004303/0.01236, allocations: 349.6 kB / 0.9893 GB, free: 9.852 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.01239, allocations: 59.39 kB / 0.9894 GB, free: 9.781 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.01264, allocations: 285.8 kB / 0.9897 GB, free: 9.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.01267, allocations: 37.7 kB / 0.9897 GB, free: 9.457 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.01274, allocations: 133 kB / 0.9898 GB, free: 9.324 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.0128, allocations: 79.27 kB / 0.9899 GB, free: 9.246 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.01291, allocations: 118.2 kB / 0.99 GB, free: 9.125 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.01298, allocations: 342.8 kB / 0.9903 GB, free: 8.781 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.01327, allocations: 272.8 kB / 0.9906 GB, free: 8.516 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.01359, allocations: 371.3 kB / 0.9909 GB, free: 8.129 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/0.01403, allocations: 441.7 kB / 0.9914 GB, free: 7.691 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01403, allocations: 0 / 0.9914 GB, free: 7.691 MB / 0.948 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000725/0.01475, allocations: 0.6847 MB / 0.992 GB, free: 7.004 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.01477, allocations: 4 kB / 0.992 GB, free: 7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.01477, allocations: 0 / 0.992 GB, free: 7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.01479, allocations: 7.938 kB / 0.9921 GB, free: 6.992 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.01513, allocations: 131.8 kB / 0.9922 GB, free: 6.863 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01514, allocations: 4 kB / 0.9922 GB, free: 6.859 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/0.01563, allocations: 71.58 kB / 0.9922 GB, free: 6.789 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.01566, allocations: 19.98 kB / 0.9923 GB, free: 6.77 MB / 0.948 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 (61): * Single equations (assignments): 61 * 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.0001042/0.01576, allocations: 161.7 kB / 0.9924 GB, free: 6.602 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.01579, allocations: 23.81 kB / 0.9924 GB, free: 6.578 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.01583, allocations: 34.11 kB / 0.9925 GB, free: 6.543 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01583, allocations: 7.875 kB / 0.9925 GB, free: 6.535 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.01584, allocations: 4 kB / 0.9925 GB, free: 6.531 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01584, allocations: 4 kB / 0.9925 GB, free: 6.527 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.01606, allocations: 268.5 kB / 0.9927 GB, free: 6.223 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01606, allocations: 0 / 0.9927 GB, free: 6.223 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.01618, allocations: 39.97 kB / 0.9928 GB, free: 6.184 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01619, allocations: 4 kB / 0.9928 GB, free: 6.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.0162, allocations: 11.98 kB / 0.9928 GB, free: 6.168 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01621, allocations: 3.938 kB / 0.9928 GB, free: 6.164 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01621, allocations: 0 / 0.9928 GB, free: 6.164 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.01662, allocations: 493.6 kB / 0.9933 GB, free: 5.668 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.01666, allocations: 31.84 kB / 0.9933 GB, free: 5.637 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.01668, allocations: 19.86 kB / 0.9933 GB, free: 5.617 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.0169, allocations: 11.98 kB / 0.9933 GB, free: 5.605 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.01693, allocations: 7.984 kB / 0.9933 GB, free: 5.598 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.01694, allocations: 8 kB / 0.9934 GB, free: 5.59 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001061/0.01704, allocations: 193.2 kB / 0.9935 GB, free: 5.402 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01704, allocations: 0 / 0.9935 GB, free: 5.402 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003468/0.01739, allocations: 207.9 kB / 0.9937 GB, free: 5.199 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con.T[5],con.T[6],con.T[7],con.T[8]) * 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 (19): * Single equations (assignments): 19 * 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.0005561/0.01795, allocations: 1.023 MB / 0.9947 GB, free: 4.152 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004731/0.01842, allocations: 430.6 kB / 0.9951 GB, free: 3.73 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01842, allocations: 0 / 0.9951 GB, free: 3.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.01852, allocations: 115.9 kB / 0.9953 GB, free: 3.617 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.01883, allocations: 67.53 kB / 0.9953 GB, free: 3.555 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.02231, allocations: 4.186 MB / 0.9994 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.02241, allocations: 165.2 kB / 0.9996 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001423/0.02256, allocations: 86.2 kB / 0.9996 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.0227, allocations: 92.45 kB / 0.9997 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.0227, allocations: 0 / 0.9997 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.04375, allocations: 10.35 MB / 1.01 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.712/6.756, allocations: 16.72 kB / 1.01 GB, free: 4.805 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder_fmu --startTime=0 --stopTime=36000 --stepSize=14.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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: 10.660261891782284]