Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001201/0.001201, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.001588/0.001588, allocations: 219.3 kB / 22.24 MB, free: 5.258 MB / 14.72 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 1.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.239/3.239, allocations: 0.49 GB / 0.7951 GB, free: 35.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.ConductorSingleLayer2,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 66.11 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.379, allocations: 176.1 MB / 1.326 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005221/0.3842, allocations: 3.456 MB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004515/0.3887, allocations: 2.421 MB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003676/0.3891, allocations: 19.81 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008152/0.3899, allocations: 246.3 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.3911, allocations: 0.5482 MB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.3926, allocations: 0.5612 MB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001832/0.3944, allocations: 1.402 MB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.3947, allocations: 105.7 kB / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006933/0.3954, allocations: 442.5 kB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008075/0.3962, allocations: 498.2 kB / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.807e-05/0.3963, allocations: 56 kB / 1.335 GB, free: 7.762 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.3965, allocations: 79.94 kB / 1.335 GB, free: 7.684 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005029/0.397, allocations: 398.8 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004642/0.3974, allocations: 386.2 kB / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.3986, allocations: 0.9608 MB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3986, allocations: 3.938 kB / 1.337 GB, free: 5.945 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3986, allocations: 0 / 1.337 GB, free: 5.945 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.3986, allocations: 0 / 1.337 GB, free: 5.945 MB / 1.029 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.00258/0.4012, allocations: 1.241 MB / 1.338 GB, free: 4.668 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4012, allocations: 12.03 kB / 1.338 GB, free: 4.656 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.236e-05/0.4013, allocations: 70.72 kB / 1.338 GB, free: 4.578 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002923/0.4016, allocations: 112.3 kB / 1.338 GB, free: 4.469 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.4028, allocations: 0.6104 MB / 1.339 GB, free: 3.836 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.4028, allocations: 49.03 kB / 1.339 GB, free: 3.789 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.4029, allocations: 68.08 kB / 1.339 GB, free: 3.723 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006893/0.4036, allocations: 407 kB / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.4036, allocations: 0 / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.4037, allocations: 16 kB / 1.34 GB, free: 3.273 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.4037, allocations: 8 kB / 1.34 GB, free: 3.266 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.4041, allocations: 234.4 kB / 1.34 GB, free: 3.039 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/0.4071, allocations: 1.883 MB / 1.342 GB, free: 1.078 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.4086, allocations: 0.5198 MB / 1.342 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002793/0.4089, allocations: 148.8 kB / 1.342 GB, free: 412 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.4089, allocations: 8 kB / 1.342 GB, free: 404 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.409, allocations: 38.56 kB / 1.342 GB, free: 356 kB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 2.374e-06/0.409, allocations: 0 / 1.342 GB, free: 356 kB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.001836/0.4108, allocations: 0.6648 MB / 1.343 GB, free: 15.67 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.4109, allocations: 55.41 kB / 1.343 GB, free: 15.6 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.4122, allocations: 0.9349 MB / 1.344 GB, free: 14.65 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.464e-05/0.4122, allocations: 41.7 kB / 1.344 GB, free: 14.61 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/0.4126, allocations: 361.2 kB / 1.344 GB, free: 14.25 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.4127, allocations: 130.9 kB / 1.344 GB, free: 14.12 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.413, allocations: 170.6 kB / 1.345 GB, free: 13.95 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002369/0.4132, allocations: 394.7 kB / 1.345 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/0.4136, allocations: 241.8 kB / 1.345 GB, free: 13.32 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000779/0.4144, allocations: 0.643 MB / 1.346 GB, free: 12.49 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.4156, allocations: 0.8918 MB / 1.347 GB, free: 11.4 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.4156, allocations: 7.984 kB / 1.347 GB, free: 11.39 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001913/0.4175, allocations: 1.019 MB / 1.348 GB, free: 10.36 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.4176, allocations: 12 kB / 1.348 GB, free: 10.35 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.4176, allocations: 15.94 kB / 1.348 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004757/0.4181, allocations: 126.7 kB / 1.348 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006677/0.4187, allocations: 191.6 kB / 1.348 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/0.4225, allocations: 4.152 MB / 1.352 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.4237, allocations: 127.2 kB / 1.352 GB, free: 5.387 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.4237, allocations: 40 kB / 1.352 GB, free: 5.348 MB / 1.045 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.0003889/0.4241, allocations: 281.9 kB / 1.353 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.4243, allocations: 83.44 kB / 1.353 GB, free: 4.98 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.4244, allocations: 76.52 kB / 1.353 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4244, allocations: 4 kB / 1.353 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.4244, allocations: 4 kB / 1.353 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4244, allocations: 0 / 1.353 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007577/0.4252, allocations: 0.5197 MB / 1.353 GB, free: 4.328 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4252, allocations: 0 / 1.353 GB, free: 4.328 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/0.4255, allocations: 63.89 kB / 1.353 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003579/0.4259, allocations: 102.5 kB / 1.353 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.4259, allocations: 11.98 kB / 1.353 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003727/0.4297, allocations: 4.131 MB / 1.357 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4297, allocations: 0 / 1.357 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.4311, allocations: 0.7436 MB / 1.358 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000532/0.4316, allocations: 135.2 kB / 1.358 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.4318, allocations: 11.98 kB / 1.358 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005534/0.4323, allocations: 23.97 kB / 1.358 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.4324, allocations: 28.08 kB / 1.358 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.4324, allocations: 4 kB / 1.358 GB, free: 14.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009549/0.4334, allocations: 0.6278 MB / 1.359 GB, free: 14.08 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4334, allocations: 0 / 1.359 GB, free: 14.08 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001021/0.4344, allocations: 271.8 kB / 1.359 GB, free: 13.82 MB / 1.061 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.001572/0.436, allocations: 1.292 MB / 1.361 GB, free: 12.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.4376, allocations: 0.908 MB / 1.361 GB, free: 11.54 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.4376, allocations: 0 / 1.361 GB, free: 11.54 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000707/0.4383, allocations: 0.5092 MB / 1.362 GB, free: 10.99 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.4394, allocations: 187.1 kB / 1.362 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.451, allocations: 7.846 MB / 1.37 GB, free: 2.426 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.4514, allocations: 392.5 kB / 1.37 GB, free: 2.016 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004453/0.4519, allocations: 149.9 kB / 1.37 GB, free: 1.867 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00042/0.4523, allocations: 279.3 kB / 1.371 GB, free: 1.594 MB / 1.061 GB Notification: Performance of SimCode: time 9.31e-07/0.4523, allocations: 0 / 1.371 GB, free: 1.594 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06713/0.5194, allocations: 19.28 MB / 1.389 GB, free: 14.7 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.84, allocations: 10.14 kB / 1.389 GB, free: 14.69 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.92047646798892]