Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.0008114/0.0008114, 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.0009022/0.0009022, 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.8821/0.8821, 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.677/1.677, allocations: 377.9 MB / 0.6221 GB, free: 8.66 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.ConductorSingleLayer,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.9809 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.743e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005316/0.005344, allocations: 3.446 MB / 0.9843 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.00354/0.008883, allocations: 2.427 MB / 0.9866 GB, free: 12.73 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000376/0.009259, allocations: 23.81 kB / 0.9867 GB, free: 12.71 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006298/0.009889, allocations: 230.4 kB / 0.9869 GB, free: 12.48 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009169/0.01081, allocations: 0.5597 MB / 0.9874 GB, free: 11.92 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.01188, allocations: 0.5747 MB / 0.988 GB, free: 11.34 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001478/0.01335, allocations: 1.417 MB / 0.9894 GB, free: 9.922 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.01354, allocations: 93.73 kB / 0.9895 GB, free: 9.824 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008498/0.01439, allocations: 0.608 MB / 0.9901 GB, free: 9.215 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006046/0.015, allocations: 442.8 kB / 0.9905 GB, free: 8.781 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 9.662e-05/0.01509, allocations: 56 kB / 0.9905 GB, free: 8.727 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.01526, allocations: 67.94 kB / 0.9906 GB, free: 8.66 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.01554, allocations: 386.9 kB / 0.991 GB, free: 8.281 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.01578, allocations: 311.3 kB / 0.9913 GB, free: 7.977 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007394/0.01652, allocations: 0.907 MB / 0.9922 GB, free: 7.066 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.01652, allocations: 0 / 0.9922 GB, free: 7.066 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.01652, allocations: 0 / 0.9922 GB, free: 7.066 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.126e-05/0.01654, allocations: 0 / 0.9922 GB, free: 7.066 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001584/0.01813, allocations: 1.201 MB / 0.9933 GB, free: 5.832 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.01817, allocations: 12.03 kB / 0.9933 GB, free: 5.82 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.839e-05/0.01823, allocations: 70.72 kB / 0.9934 GB, free: 5.742 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.01847, allocations: 108.3 kB / 0.9935 GB, free: 5.637 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007393/0.0192, allocations: 0.6097 MB / 0.9941 GB, free: 5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.01923, allocations: 37.03 kB / 0.9941 GB, free: 4.965 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/0.01929, allocations: 60.38 kB / 0.9942 GB, free: 4.906 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004061/0.01969, allocations: 399.5 kB / 0.9946 GB, free: 4.484 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.0197, allocations: 15.81 kB / 0.9946 GB, free: 4.469 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.01973, allocations: 12 kB / 0.9946 GB, free: 4.457 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.01974, allocations: 8 kB / 0.9946 GB, free: 4.449 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.02, allocations: 226.4 kB / 0.9948 GB, free: 4.227 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.02197, allocations: 1.848 MB / 0.9966 GB, free: 2.301 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007124/0.02268, allocations: 482.7 kB / 0.9971 GB, free: 1.824 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.02283, allocations: 137.2 kB / 0.9972 GB, free: 1.688 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.02285, allocations: 8.234 kB / 0.9972 GB, free: 1.68 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.02287, allocations: 34.8 kB / 0.9973 GB, free: 1.637 MB / 0.948 GB Notification: Performance of pre-optimization done (n=28): time 2.294e-06/0.02287, allocations: 0 / 0.9973 GB, free: 1.637 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.001367/0.02424, allocations: 1.064 MB / 0.9983 GB, free: 0.5391 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.02427, allocations: 59.41 kB / 0.9984 GB, free: 480 kB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007966/0.02507, allocations: 0.935 MB / 0.9993 GB, free: 15.52 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.0251, allocations: 41.7 kB / 0.9993 GB, free: 15.47 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.02529, allocations: 377.1 kB / 0.9997 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/0.02536, allocations: 119 kB / 0.9998 GB, free: 14.99 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.02549, allocations: 166.6 kB / 0.9999 GB, free: 14.82 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.02561, allocations: 394.7 kB / 1 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.02586, allocations: 225.8 kB / 1.001 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.02625, allocations: 0.6235 MB / 1.001 GB, free: 13.39 MB / 0.9636 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.02807, allocations: 1.618 MB / 1.003 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.02808, allocations: 4 kB / 1.003 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009169/0.02899, allocations: 0.9004 MB / 1.004 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.02902, allocations: 16 kB / 1.004 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.02903, allocations: 12 kB / 1.004 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/0.02918, allocations: 48.83 kB / 1.004 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.02954, allocations: 211.6 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008679/0.03041, allocations: 1.353 MB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.03083, allocations: 47.91 kB / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.03086, allocations: 36 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). 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 (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002575/0.03112, allocations: 302 kB / 1.006 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/0.03119, allocations: 83.44 kB / 1.006 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.488e-05/0.03126, allocations: 76.53 kB / 1.006 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.03126, allocations: 8.125 kB / 1.006 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.03127, allocations: 3.938 kB / 1.006 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.03127, allocations: 7.969 kB / 1.006 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009965/0.03227, allocations: 1.019 MB / 1.007 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.03227, allocations: 0 / 1.007 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.03247, allocations: 92 kB / 1.007 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.454e-05/0.03256, allocations: 36.77 kB / 1.007 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.03258, allocations: 8 kB / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006651/0.03324, allocations: 1.326 MB / 1.008 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.03325, allocations: 4.188 kB / 1.008 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000774/0.03402, allocations: 0.6523 MB / 1.009 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.03419, allocations: 139.3 kB / 1.009 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.03424, allocations: 8 kB / 1.009 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.03445, allocations: 19.97 kB / 1.009 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.0345, allocations: 23.97 kB / 1.009 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.03452, allocations: 7.984 kB / 1.009 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005289/0.03504, allocations: 0.6239 MB / 1.01 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.03504, allocations: 4 kB / 1.01 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004819/0.03553, allocations: 208 kB / 1.01 GB, free: 3.984 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0007708/0.0363, allocations: 1.208 MB / 1.011 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007183/0.03702, allocations: 0.6265 MB / 1.012 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.03702, allocations: 0 / 1.012 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.03722, allocations: 262.4 kB / 1.012 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005492/0.03777, allocations: 175.7 kB / 1.012 GB, free: 1.656 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006567/0.04434, allocations: 7.285 MB / 1.019 GB, free: 9.812 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.0446, allocations: 396.3 kB / 1.02 GB, free: 9.398 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002833/0.04488, allocations: 153.8 kB / 1.02 GB, free: 9.246 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.04513, allocations: 296.4 kB / 1.02 GB, free: 8.957 MB / 0.9792 GB Notification: Performance of SimCode: time 1.312e-06/0.04513, allocations: 0 / 1.02 GB, free: 8.957 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.0766, allocations: 17.88 MB / 1.037 GB, free: 7.473 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.125/7.202, allocations: 8.156 kB / 1.037 GB, free: 7.469 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.607452603057027]