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.001295/0.001295, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001713/0.001713, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.325/3.325, allocations: 0.49 GB / 0.7959 GB, free: 33.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="cs",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.002077/0.002077, allocations: 64.11 kB / 1.155 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3734, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005624/0.379, allocations: 3.813 MB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004958/0.384, allocations: 2.583 MB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005085/0.3845, allocations: 23.81 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000808/0.3853, allocations: 254.4 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.3866, allocations: 0.5444 MB / 1.334 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.3883, allocations: 0.5574 MB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002182/0.3905, allocations: 1.402 MB / 1.336 GB, free: 8.734 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.3908, allocations: 101.7 kB / 1.336 GB, free: 8.625 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008648/0.3916, allocations: 446.5 kB / 1.336 GB, free: 8.188 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007885/0.3924, allocations: 0.4942 MB / 1.337 GB, free: 7.691 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.3925, allocations: 52 kB / 1.337 GB, free: 7.641 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.3927, allocations: 79.98 kB / 1.337 GB, free: 7.562 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004582/0.3932, allocations: 398.9 kB / 1.337 GB, free: 7.172 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005044/0.3937, allocations: 477.5 kB / 1.338 GB, free: 6.703 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.3948, allocations: 0.9491 MB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3949, allocations: 0 / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3949, allocations: 0 / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.923e-05/0.3949, allocations: 0 / 1.338 GB, free: 5.75 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.002608/0.3975, allocations: 1.228 MB / 1.34 GB, free: 4.484 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3975, allocations: 12.03 kB / 1.34 GB, free: 4.473 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.934e-05/0.3975, allocations: 8.844 kB / 1.34 GB, free: 4.465 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.199e-05/0.3976, allocations: 70.72 kB / 1.34 GB, free: 4.387 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003096/0.3979, allocations: 112.3 kB / 1.34 GB, free: 4.277 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.399, allocations: 0.6143 MB / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.3991, allocations: 37.03 kB / 1.341 GB, free: 3.602 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.354e-05/0.3992, allocations: 71.89 kB / 1.341 GB, free: 3.531 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006652/0.3998, allocations: 410.9 kB / 1.341 GB, free: 3.098 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3999, allocations: 0 / 1.341 GB, free: 3.098 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.3999, allocations: 16 kB / 1.341 GB, free: 3.082 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3999, allocations: 8 kB / 1.341 GB, free: 3.074 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.4003, allocations: 238.4 kB / 1.341 GB, free: 2.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003378/0.4037, allocations: 2.456 MB / 1.344 GB, free: 216 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.4052, allocations: 0.5317 MB / 1.344 GB, free: 15.67 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.4055, allocations: 148.8 kB / 1.344 GB, free: 15.52 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.4055, allocations: 0 / 1.344 GB, free: 15.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.4055, allocations: 34.56 kB / 1.344 GB, free: 15.48 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 1.223e-06/0.4055, allocations: 0 / 1.344 GB, free: 15.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=30): time 0.001805/0.4073, allocations: 0.661 MB / 1.345 GB, free: 14.8 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.4074, allocations: 55.41 kB / 1.345 GB, free: 14.73 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.4088, allocations: 0.9388 MB / 1.346 GB, free: 13.79 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/0.4088, allocations: 37.7 kB / 1.346 GB, free: 13.74 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.4092, allocations: 373.1 kB / 1.346 GB, free: 13.38 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.4093, allocations: 123 kB / 1.346 GB, free: 13.26 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.4096, allocations: 170.6 kB / 1.347 GB, free: 13.09 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.4098, allocations: 390.8 kB / 1.347 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.4102, allocations: 249.8 kB / 1.347 GB, free: 12.45 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007821/0.411, allocations: 0.6391 MB / 1.348 GB, free: 11.62 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.4122, allocations: 0.8957 MB / 1.349 GB, free: 10.53 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.4123, allocations: 8 kB / 1.349 GB, free: 10.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001858/0.4141, allocations: 1.015 MB / 1.35 GB, free: 9.492 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.4141, allocations: 11.94 kB / 1.35 GB, free: 9.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.4142, allocations: 16 kB / 1.35 GB, free: 9.465 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004293/0.4146, allocations: 122.5 kB / 1.35 GB, free: 9.336 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/0.4152, allocations: 191.7 kB / 1.35 GB, free: 9.148 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003793/0.419, allocations: 4.171 MB / 1.354 GB, free: 4.629 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.4203, allocations: 119.2 kB / 1.354 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.189e-05/0.4203, allocations: 47.94 kB / 1.354 GB, free: 4.465 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.0003968/0.4207, allocations: 261.9 kB / 1.355 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.4209, allocations: 83.44 kB / 1.355 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.4211, allocations: 88.58 kB / 1.355 GB, free: 4.023 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4211, allocations: 4 kB / 1.355 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.4211, allocations: 0 / 1.355 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4211, allocations: 0 / 1.355 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008843/0.422, allocations: 0.6365 MB / 1.355 GB, free: 3.34 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.422, allocations: 0 / 1.355 GB, free: 3.34 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.4223, allocations: 63.94 kB / 1.355 GB, free: 3.277 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003563/0.4227, allocations: 106.4 kB / 1.355 GB, free: 3.164 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.4227, allocations: 15.98 kB / 1.355 GB, free: 3.148 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003744/0.4265, allocations: 4.143 MB / 1.36 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4265, allocations: 0 / 1.36 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.4278, allocations: 0.7477 MB / 1.36 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/0.4282, allocations: 135.2 kB / 1.36 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4283, allocations: 15.98 kB / 1.36 GB, free: 13.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.4288, allocations: 19.97 kB / 1.36 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.4289, allocations: 23.95 kB / 1.36 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.4289, allocations: 8 kB / 1.36 GB, free: 13.69 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001007/0.43, allocations: 0.6317 MB / 1.361 GB, free: 13.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.43, allocations: 4 kB / 1.361 GB, free: 13.06 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001011/0.431, allocations: 267.8 kB / 1.361 GB, free: 12.8 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.001667/0.4326, allocations: 1.296 MB / 1.363 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001697/0.4343, allocations: 0.9007 MB / 1.363 GB, free: 10.53 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4343, allocations: 7.938 kB / 1.363 GB, free: 10.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000838/0.4352, allocations: 0.5047 MB / 1.364 GB, free: 9.977 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.4364, allocations: 176.3 kB / 1.364 GB, free: 9.805 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/0.449, allocations: 7.856 MB / 1.372 GB, free: 1.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007712/0.4498, allocations: 0.9917 MB / 1.373 GB, free: 400 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004969/0.4503, allocations: 153.8 kB / 1.373 GB, free: 244 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.4507, allocations: 279.4 kB / 1.373 GB, free: 15.96 MB / 1.076 GB Notification: Performance of SimCode: time 8.21e-07/0.4507, allocations: 0 / 1.373 GB, free: 15.96 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05659/0.5073, allocations: 17.83 MB / 1.391 GB, free: 14.42 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.42, allocations: 8 kB / 1.391 GB, free: 14.41 MB / 1.092 GB " [Timeout remaining time 285] (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.56200506904861]