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.001737/0.001737, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002712/0.002712, allocations: 217 kB / 22.25 MB, free: 5.082 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 8.039 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.238/3.238, allocations: 0.49 GB / 0.7951 GB, free: 33.37 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.002334/0.002334, allocations: 64.06 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3891, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005785/0.3949, allocations: 3.802 MB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004908/0.3998, allocations: 2.587 MB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005469/0.4003, allocations: 23.81 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009019/0.4012, allocations: 258.3 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.4027, allocations: 0.5405 MB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.4043, allocations: 0.5637 MB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002076/0.4063, allocations: 1.402 MB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.4066, allocations: 101.7 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008935/0.4075, allocations: 442.5 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000941/0.4085, allocations: 498.1 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.4086, allocations: 56 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.4089, allocations: 76 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005411/0.4094, allocations: 406.8 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006515/0.4101, allocations: 469.6 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.4113, allocations: 0.9529 MB / 1.338 GB, free: 5.797 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4113, allocations: 0 / 1.338 GB, free: 5.797 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4113, allocations: 0 / 1.338 GB, free: 5.797 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.704e-05/0.4114, allocations: 0 / 1.338 GB, free: 5.797 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.002866/0.4142, allocations: 1.236 MB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.4143, allocations: 15.97 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.32e-05/0.4144, allocations: 66.72 kB / 1.339 GB, free: 4.434 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003488/0.4147, allocations: 112.3 kB / 1.339 GB, free: 4.324 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.4161, allocations: 0.6144 MB / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.4161, allocations: 37.03 kB / 1.34 GB, free: 3.652 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.4162, allocations: 68.08 kB / 1.34 GB, free: 3.586 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.4169, allocations: 411 kB / 1.34 GB, free: 3.148 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.4169, allocations: 0 / 1.34 GB, free: 3.148 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.4169, allocations: 15.94 kB / 1.34 GB, free: 3.133 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.4169, allocations: 12 kB / 1.34 GB, free: 3.121 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.4174, allocations: 246.3 kB / 1.34 GB, free: 2.883 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003762/0.4212, allocations: 2.452 MB / 1.343 GB, free: 260 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.4228, allocations: 0.5259 MB / 1.343 GB, free: 15.72 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.4231, allocations: 140.8 kB / 1.344 GB, free: 15.58 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.4231, allocations: 8 kB / 1.344 GB, free: 15.57 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.4231, allocations: 34.56 kB / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 2.314e-06/0.4231, allocations: 0 / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of matching and sorting (n=30): time 0.001779/0.4249, allocations: 0.6649 MB / 1.344 GB, free: 14.85 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.425, allocations: 55.41 kB / 1.344 GB, free: 14.78 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.4265, allocations: 0.931 MB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.609e-05/0.4266, allocations: 41.7 kB / 1.345 GB, free: 13.79 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.4269, allocations: 369.2 kB / 1.346 GB, free: 13.43 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.4271, allocations: 122.9 kB / 1.346 GB, free: 13.3 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.4273, allocations: 174.6 kB / 1.346 GB, free: 13.13 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002448/0.4276, allocations: 390.8 kB / 1.346 GB, free: 12.74 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.428, allocations: 245.8 kB / 1.346 GB, free: 12.5 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008186/0.4288, allocations: 0.6391 MB / 1.347 GB, free: 11.68 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.4302, allocations: 0.8957 MB / 1.348 GB, free: 10.59 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.4302, allocations: 4 kB / 1.348 GB, free: 10.58 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002065/0.4322, allocations: 1.011 MB / 1.349 GB, free: 9.555 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.4323, allocations: 16.05 kB / 1.349 GB, free: 9.539 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/0.4323, allocations: 23.94 kB / 1.349 GB, free: 9.516 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005221/0.4328, allocations: 118.4 kB / 1.349 GB, free: 9.391 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007284/0.4336, allocations: 195.7 kB / 1.349 GB, free: 9.199 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004415/0.438, allocations: 4.163 MB / 1.353 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.4394, allocations: 123.4 kB / 1.353 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.4395, allocations: 47.94 kB / 1.354 GB, free: 4.52 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.0006377/0.4402, allocations: 265.9 kB / 1.354 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003539/0.4405, allocations: 87.39 kB / 1.354 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.4408, allocations: 84.52 kB / 1.354 GB, free: 4.074 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.4408, allocations: 7.938 kB / 1.354 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.4408, allocations: 4 kB / 1.354 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.4408, allocations: 0 / 1.354 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.4421, allocations: 0.6327 MB / 1.355 GB, free: 3.387 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.4421, allocations: 0 / 1.355 GB, free: 3.387 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.4425, allocations: 63.88 kB / 1.355 GB, free: 3.324 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003898/0.4428, allocations: 102.5 kB / 1.355 GB, free: 3.215 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.513e-05/0.4429, allocations: 11.98 kB / 1.355 GB, free: 3.203 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004147/0.447, allocations: 4.151 MB / 1.359 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.447, allocations: 0 / 1.359 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.4486, allocations: 0.7358 MB / 1.359 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006228/0.4492, allocations: 139.2 kB / 1.36 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/0.4495, allocations: 11.98 kB / 1.36 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006739/0.4501, allocations: 23.97 kB / 1.36 GB, free: 13.78 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.4503, allocations: 23.95 kB / 1.36 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.4503, allocations: 8 kB / 1.36 GB, free: 13.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001181/0.4515, allocations: 0.6317 MB / 1.36 GB, free: 13.12 MB / 1.061 GB Notification: Performance of sort global known variables: time 4.7e-07/0.4515, allocations: 0 / 1.36 GB, free: 13.12 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00114/0.4526, allocations: 275.8 kB / 1.361 GB, free: 12.85 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.001821/0.4544, allocations: 1.296 MB / 1.362 GB, free: 11.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.4562, allocations: 0.9014 MB / 1.363 GB, free: 10.58 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.4562, allocations: 0 / 1.363 GB, free: 10.58 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007717/0.4569, allocations: 0.5115 MB / 1.363 GB, free: 10.03 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.4581, allocations: 174 kB / 1.363 GB, free: 9.859 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.4723, allocations: 7.86 MB / 1.371 GB, free: 1.465 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008591/0.4732, allocations: 0.9878 MB / 1.372 GB, free: 460 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005215/0.4737, allocations: 149.9 kB / 1.372 GB, free: 308 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004891/0.4742, allocations: 283.3 kB / 1.372 GB, free: 24 kB / 1.061 GB Notification: Performance of SimCode: time 9.52e-07/0.4742, allocations: 0 / 1.372 GB, free: 24 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07188/0.5461, allocations: 17.79 MB / 1.39 GB, free: 14.5 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/14.06, allocations: 4.062 kB / 1.39 GB, free: 14.5 MB / 1.092 GB " [Timeout remaining time 286] (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: 21.17193344910629]