Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.001675/0.001675, allocations: 105.9 kB / 16.45 MB, free: 6.508 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.001937/0.001937, allocations: 196.6 kB / 19.41 MB, free: 3.676 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.545/1.545, allocations: 225.6 MB / 247.8 MB, free: 13.97 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.561/2.561, allocations: 443.5 MB / 0.7287 GB, free: 13.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 71.88 kB / 1.056 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8451/0.847, allocations: 160.7 MB / 1.213 GB, free: 3.953 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005607/0.8526, allocations: 3.758 MB / 1.217 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004666/0.8573, allocations: 2.515 MB / 1.219 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004537/0.8578, allocations: 13.38 kB / 1.219 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007898/0.8586, allocations: 260 kB / 1.219 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.8597, allocations: 0.4949 MB / 1.22 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.8612, allocations: 0.5328 MB / 1.22 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001971/0.8631, allocations: 1.389 MB / 1.222 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000249/0.8634, allocations: 104.4 kB / 1.222 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007519/0.8641, allocations: 442.1 kB / 1.222 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006732/0.8648, allocations: 480.9 kB / 1.223 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.66e-05/0.8649, allocations: 54.75 kB / 1.223 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.865, allocations: 57.31 kB / 1.223 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004199/0.8655, allocations: 379.7 kB / 1.223 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004854/0.8659, allocations: 469.8 kB / 1.224 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.8671, allocations: 0.9471 MB / 1.224 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8671, allocations: 0 / 1.224 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8671, allocations: 0 / 1.224 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.8671, allocations: 1.094 kB / 1.224 GB, free: 11.39 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.002549/0.8697, allocations: 1.295 MB / 1.226 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.8697, allocations: 14.38 kB / 1.226 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.847e-05/0.8698, allocations: 73.52 kB / 1.226 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.87, allocations: 107.4 kB / 1.226 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.8713, allocations: 0.671 MB / 1.227 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/0.8714, allocations: 41.34 kB / 1.227 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.721e-05/0.8715, allocations: 61.12 kB / 1.227 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007004/0.8722, allocations: 416.7 kB / 1.227 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.8722, allocations: 1.281 kB / 1.227 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.8722, allocations: 15.22 kB / 1.227 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.8722, allocations: 7.625 kB / 1.227 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.8727, allocations: 241.7 kB / 1.227 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003609/0.8763, allocations: 2.499 MB / 1.23 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.8778, allocations: 0.5233 MB / 1.23 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.878, allocations: 152.8 kB / 1.23 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.8781, allocations: 4 kB / 1.23 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.8781, allocations: 38.55 kB / 1.23 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 2.124e-06/0.8781, allocations: 0 / 1.23 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.001854/0.8799, allocations: 0.8896 MB / 1.231 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.88, allocations: 59.34 kB / 1.231 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.8813, allocations: 0.9271 MB / 1.232 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/0.8814, allocations: 41.7 kB / 1.232 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/0.8817, allocations: 365.3 kB / 1.233 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.8819, allocations: 126.9 kB / 1.233 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.8821, allocations: 170.6 kB / 1.233 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002328/0.8824, allocations: 394.7 kB / 1.233 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004241/0.8828, allocations: 241.8 kB / 1.234 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007562/0.8835, allocations: 0.6427 MB / 1.234 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.8847, allocations: 0.889 MB / 1.235 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.8847, allocations: 4 kB / 1.235 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001855/0.8866, allocations: 1.018 MB / 1.236 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/0.8866, allocations: 12 kB / 1.236 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.8866, allocations: 15.94 kB / 1.236 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005216/0.8871, allocations: 122.9 kB / 1.236 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006935/0.8878, allocations: 195.6 kB / 1.236 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004602/0.8924, allocations: 4.47 MB / 1.241 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.8939, allocations: 111.3 kB / 1.241 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.203e-05/0.894, allocations: 44 kB / 1.241 GB, free: 10.27 MB / 0.9512 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.0004494/0.8944, allocations: 281.3 kB / 1.241 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.8946, allocations: 83.44 kB / 1.241 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.8947, allocations: 80.53 kB / 1.241 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.8947, allocations: 7.938 kB / 1.241 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.8947, allocations: 0 / 1.241 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.8947, allocations: 3.984 kB / 1.241 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008756/0.8956, allocations: 0.6608 MB / 1.242 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.8956, allocations: 0 / 1.242 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.8959, allocations: 63.94 kB / 1.242 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000323/0.8962, allocations: 106.6 kB / 1.242 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.8963, allocations: 15.98 kB / 1.242 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003747/0.9, allocations: 4.454 MB / 1.247 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9, allocations: 0 / 1.247 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.9012, allocations: 0.7325 MB / 1.247 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004127/0.9016, allocations: 220.4 kB / 1.247 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.124e-05/0.9017, allocations: 8 kB / 1.247 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004464/0.9022, allocations: 23.97 kB / 1.247 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/0.9022, allocations: 19.97 kB / 1.247 GB, free: 3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.9023, allocations: 12 kB / 1.247 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009303/0.9032, allocations: 0.62 MB / 1.248 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9032, allocations: 0 / 1.248 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009818/0.9042, allocations: 263.9 kB / 1.248 GB, free: 2.117 MB / 0.9512 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.001518/0.9057, allocations: 1.304 MB / 1.25 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001515/0.9072, allocations: 0.8971 MB / 1.251 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9072, allocations: 0 / 1.251 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000659/0.9079, allocations: 0.5157 MB / 1.251 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008976/0.9088, allocations: 179 kB / 1.251 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.9201, allocations: 7.832 MB / 1.259 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007219/0.9208, allocations: 0.9917 MB / 1.26 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004961/0.9213, allocations: 153.8 kB / 1.26 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/0.9217, allocations: 275.3 kB / 1.26 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of SimCode: time 7.31e-07/0.9217, allocations: 0 / 1.26 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0848/1.007, allocations: 17.39 MB / 1.277 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.83, allocations: 16.62 kB / 1.277 GB, free: 4.141 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 18.89805472129956]