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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008785/0.008785, allocations: 103 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 187.4 kB / 16.67 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.616/2.616, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 63.89 kB / 1.054 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9059/0.9073, allocations: 157.4 MB / 1.207 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004604/0.912, allocations: 3.757 MB / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003941/0.9159, allocations: 2.495 MB / 1.213 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005347/0.9165, allocations: 15.94 kB / 1.213 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009251/0.9174, allocations: 254.3 kB / 1.214 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.9188, allocations: 0.4898 MB / 1.214 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.9204, allocations: 0.5406 MB / 1.215 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001731/0.9222, allocations: 1.379 MB / 1.216 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.9224, allocations: 153.1 kB / 1.216 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007536/0.9232, allocations: 442.4 kB / 1.217 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000607/0.9238, allocations: 458.2 kB / 1.217 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.544e-05/0.9239, allocations: 56 kB / 1.217 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.924, allocations: 56 kB / 1.217 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003903/0.9244, allocations: 378.9 kB / 1.217 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004392/0.9249, allocations: 461.7 kB / 1.218 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008645/0.9258, allocations: 0.938 MB / 1.219 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.9258, allocations: 0 / 1.219 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.032e-06/0.9258, allocations: 0 / 1.219 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.9258, allocations: 0 / 1.219 GB, free: 1.73 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002118/0.9279, allocations: 1.28 MB / 1.22 GB, free: 400 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.928, allocations: 8.031 kB / 1.22 GB, free: 392 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.392e-05/0.9281, allocations: 70.72 kB / 1.22 GB, free: 312 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.9282, allocations: 99.81 kB / 1.22 GB, free: 212 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009304/0.9291, allocations: 0.6637 MB / 1.221 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.9292, allocations: 45.03 kB / 1.221 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.189e-05/0.9293, allocations: 60.12 kB / 1.221 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005659/0.9298, allocations: 407 kB / 1.221 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.9299, allocations: 3.938 kB / 1.221 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.9299, allocations: 16 kB / 1.221 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.9299, allocations: 8 kB / 1.221 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003748/0.9303, allocations: 234.4 kB / 1.222 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002757/0.9331, allocations: 2.498 MB / 1.224 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.9345, allocations: 0.5533 MB / 1.225 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.9347, allocations: 161.3 kB / 1.225 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.9348, allocations: 4 kB / 1.225 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.9348, allocations: 34.56 kB / 1.225 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.9348, allocations: 4 kB / 1.225 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.001508/0.9363, allocations: 0.8832 MB / 1.226 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.9364, allocations: 59.41 kB / 1.226 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.9374, allocations: 0.927 MB / 1.227 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.9375, allocations: 41.7 kB / 1.227 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.9378, allocations: 364.7 kB / 1.227 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.986e-05/0.9379, allocations: 122.3 kB / 1.227 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.9381, allocations: 170.6 kB / 1.227 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.9383, allocations: 394.7 kB / 1.228 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.9386, allocations: 241.8 kB / 1.228 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.9392, allocations: 0.6348 MB / 1.228 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009499/0.9402, allocations: 0.8893 MB / 1.229 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.9402, allocations: 4 kB / 1.229 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001524/0.9417, allocations: 1.022 MB / 1.23 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.9418, allocations: 12 kB / 1.23 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.9418, allocations: 15.94 kB / 1.23 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003892/0.9422, allocations: 126.8 kB / 1.23 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006107/0.9428, allocations: 187.7 kB / 1.231 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003195/0.946, allocations: 4.477 MB / 1.235 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008532/0.9469, allocations: 111 kB / 1.235 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.9469, allocations: 44 kB / 1.235 GB, free: 15.62 MB / 0.9669 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.0003307/0.9473, allocations: 273.4 kB / 1.235 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.9474, allocations: 82.88 kB / 1.236 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.9475, allocations: 80.45 kB / 1.236 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.9475, allocations: 4 kB / 1.236 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.981e-05/0.9476, allocations: 4 kB / 1.236 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.9476, allocations: 0 / 1.236 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007159/0.9483, allocations: 0.6648 MB / 1.236 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.9484, allocations: 8 kB / 1.236 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.9487, allocations: 63.89 kB / 1.236 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002772/0.949, allocations: 102.5 kB / 1.236 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.949, allocations: 12 kB / 1.236 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002983/0.952, allocations: 4.445 MB / 1.241 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.952, allocations: 4 kB / 1.241 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.953, allocations: 0.7312 MB / 1.242 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.9533, allocations: 208 kB / 1.242 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.9534, allocations: 15.98 kB / 1.242 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004385/0.9539, allocations: 15.97 kB / 1.242 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.954, allocations: 24.16 kB / 1.242 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.954, allocations: 12 kB / 1.242 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008457/0.9548, allocations: 0.6239 MB / 1.242 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9549, allocations: 0 / 1.242 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009739/0.9558, allocations: 263.8 kB / 1.243 GB, free: 7.477 MB / 0.9669 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.001521/0.9574, allocations: 1.295 MB / 1.244 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001627/0.959, allocations: 0.9293 MB / 1.245 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.959, allocations: 0 / 1.245 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006674/0.9597, allocations: 0.5235 MB / 1.245 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008402/0.9605, allocations: 167.5 kB / 1.245 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.9724, allocations: 7.81 MB / 1.253 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007612/0.9732, allocations: 0.9917 MB / 1.254 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000482/0.9737, allocations: 149.9 kB / 1.254 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004082/0.9741, allocations: 279.3 kB / 1.254 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of SimCode: time 1.162e-06/0.9741, allocations: 0 / 1.254 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0527/1.027, allocations: 17.61 MB / 1.272 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.74, allocations: 8 kB / 1.272 GB, free: 9.297 MB / 0.9981 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches