Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.0008419/0.0008419, 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.000878/0.000878, allocations: 170.3 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.8345/0.8345, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.681/1.681, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.453e-05, allocations: 6.219 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.002964/0.002979, allocations: 3.453 MB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002694/0.005673, allocations: 2.427 MB / 1.005 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.005915, allocations: 23.81 kB / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005564/0.006472, allocations: 254.2 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0007363/0.007208, allocations: 0.5402 MB / 1.006 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008344/0.008042, allocations: 0.5714 MB / 1.007 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0009948/0.009037, allocations: 1.437 MB / 1.008 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.009206, allocations: 97.69 kB / 1.008 GB, free: 4.703 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006485/0.009854, allocations: 0.5924 MB / 1.009 GB, free: 4.109 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003878/0.01024, allocations: 422.8 kB / 1.009 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.791e-05/0.01031, allocations: 60 kB / 1.009 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.01042, allocations: 75.92 kB / 1.009 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.01067, allocations: 402.9 kB / 1.01 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.01087, allocations: 323.2 kB / 1.01 GB, free: 2.852 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006077/0.01148, allocations: 0.9305 MB / 1.011 GB, free: 1.918 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.01148, allocations: 0 / 1.011 GB, free: 1.918 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.81e-07/0.01148, allocations: 0 / 1.011 GB, free: 1.918 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.01149, allocations: 0 / 1.011 GB, free: 1.918 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001387/0.01288, allocations: 1.224 MB / 1.012 GB, free: 0.6562 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.01291, allocations: 8.75 kB / 1.012 GB, free: 0.6484 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.039e-05/0.01296, allocations: 66.73 kB / 1.012 GB, free: 0.5742 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.01315, allocations: 116.3 kB / 1.012 GB, free: 472 kB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007135/0.01386, allocations: 0.6138 MB / 1.013 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.01388, allocations: 37.03 kB / 1.013 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.241e-05/0.01393, allocations: 64.33 kB / 1.013 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.01434, allocations: 411.5 kB / 1.013 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.01435, allocations: 7.938 kB / 1.013 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.01437, allocations: 8 kB / 1.013 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.01438, allocations: 11.98 kB / 1.013 GB, free: 15.26 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.01463, allocations: 238.4 kB / 1.014 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.01628, allocations: 1.875 MB / 1.015 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007561/0.01703, allocations: 0.522 MB / 1.016 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.01719, allocations: 148.8 kB / 1.016 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.0172, allocations: 4 kB / 1.016 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.01722, allocations: 38.5 kB / 1.016 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=30): time 1.263e-06/0.01722, allocations: 3.938 kB / 1.016 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30): time 0.0008648/0.01808, allocations: 0.6569 MB / 1.017 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.01811, allocations: 55.34 kB / 1.017 GB, free: 11.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000884/0.019, allocations: 0.9388 MB / 1.018 GB, free: 10.65 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.01903, allocations: 41.7 kB / 1.018 GB, free: 10.6 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.01921, allocations: 369.3 kB / 1.018 GB, free: 10.24 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.461e-05/0.01927, allocations: 115 kB / 1.018 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.01939, allocations: 170.6 kB / 1.018 GB, free: 9.953 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.0195, allocations: 406.7 kB / 1.019 GB, free: 9.547 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.01974, allocations: 237.8 kB / 1.019 GB, free: 9.316 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/0.02013, allocations: 0.643 MB / 1.02 GB, free: 8.484 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006327/0.02076, allocations: 0.8839 MB / 1.021 GB, free: 7.406 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.02077, allocations: 4 kB / 1.021 GB, free: 7.402 MB / 0.9792 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0009542/0.02172, allocations: 1.028 MB / 1.022 GB, free: 6.359 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.02174, allocations: 12 kB / 1.022 GB, free: 6.348 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.02175, allocations: 12 kB / 1.022 GB, free: 6.336 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/0.02198, allocations: 122.7 kB / 1.022 GB, free: 6.207 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.0223, allocations: 199.6 kB / 1.022 GB, free: 6.012 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.02444, allocations: 4.148 MB / 1.026 GB, free: 1.516 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004442/0.02489, allocations: 127.2 kB / 1.026 GB, free: 1.391 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.02492, allocations: 36 kB / 1.026 GB, free: 1.355 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002044/0.02512, allocations: 273.3 kB / 1.026 GB, free: 1.078 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.0252, allocations: 87.45 kB / 1.026 GB, free: 0.9922 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.079e-05/0.02526, allocations: 80.52 kB / 1.027 GB, free: 0.9062 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.02526, allocations: 4 kB / 1.027 GB, free: 0.9023 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.02527, allocations: 4 kB / 1.027 GB, free: 0.8984 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.02527, allocations: 0 / 1.027 GB, free: 0.8984 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.02568, allocations: 0.5197 MB / 1.027 GB, free: 344 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.02568, allocations: 0 / 1.027 GB, free: 344 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.02583, allocations: 59.89 kB / 1.027 GB, free: 284 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001648/0.02599, allocations: 102.5 kB / 1.027 GB, free: 172 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.02601, allocations: 15.98 kB / 1.027 GB, free: 156 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.02805, allocations: 4.128 MB / 1.031 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02805, allocations: 0 / 1.031 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006288/0.02868, allocations: 0.7375 MB / 1.032 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.02885, allocations: 135.4 kB / 1.032 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.0289, allocations: 23.92 kB / 1.032 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.02913, allocations: 23.97 kB / 1.032 GB, free: 10.74 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.02917, allocations: 23.89 kB / 1.032 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.02918, allocations: 8 kB / 1.032 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004984/0.02968, allocations: 0.6317 MB / 1.033 GB, free: 10.08 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.02968, allocations: 3.938 kB / 1.033 GB, free: 10.08 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005136/0.0302, allocations: 271.8 kB / 1.033 GB, free: 9.812 MB / 0.9948 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],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008678/0.03106, allocations: 1.3 MB / 1.034 GB, free: 8.477 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007701/0.03183, allocations: 0.8969 MB / 1.035 GB, free: 7.543 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.03184, allocations: 0 / 1.035 GB, free: 7.543 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.03215, allocations: 0.5038 MB / 1.036 GB, free: 7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00052/0.03267, allocations: 182.8 kB / 1.036 GB, free: 6.824 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006365/0.03903, allocations: 7.654 MB / 1.043 GB, free: 14.62 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.03927, allocations: 404.4 kB / 1.044 GB, free: 14.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002131/0.03949, allocations: 141.9 kB / 1.044 GB, free: 14.06 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.03972, allocations: 280.4 kB / 1.044 GB, free: 13.79 MB / 1.01 GB Notification: Performance of SimCode: time 6.72e-07/0.03972, allocations: 4 kB / 1.044 GB, free: 13.79 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4265/0.4662, allocations: 19.27 MB / 1.063 GB, free: 93.42 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.101/7.567, allocations: 12.98 kB / 1.063 GB, free: 93.42 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.496379166841507]