Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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.001643/0.001643, allocations: 103.2 kB / 16.45 MB, free: 6.445 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.001877/0.001877, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.415/1.415, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.709/2.709, allocations: 476.7 MB / 0.7611 GB, free: 15.77 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 67.89 kB / 1.104 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9485/0.9506, allocations: 168.7 MB / 1.269 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.2112/1.162, allocations: 160.6 MB / 1.426 GB, free: 336 kB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.007722/1.169, allocations: 3.832 MB / 1.429 GB, free: 13.23 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008878/1.17, allocations: 16.88 kB / 1.429 GB, free: 13.22 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009954/1.171, allocations: 183.2 kB / 1.43 GB, free: 13.07 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002991/1.174, allocations: 0.8773 MB / 1.43 GB, free: 12.4 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/1.176, allocations: 425.6 kB / 1.431 GB, free: 12.1 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001953/1.178, allocations: 1.024 MB / 1.432 GB, free: 11.51 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006414/1.178, allocations: 253.6 kB / 1.432 GB, free: 11.35 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/1.179, allocations: 419.6 kB / 1.432 GB, free: 11.11 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/1.181, allocations: 352.5 kB / 1.433 GB, free: 10.89 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/1.181, allocations: 30.47 kB / 1.433 GB, free: 10.89 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/1.183, allocations: 0.7596 MB / 1.434 GB, free: 10.47 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003016/1.183, allocations: 167 kB / 1.434 GB, free: 10.36 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004592/1.183, allocations: 216.2 kB / 1.434 GB, free: 10.22 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001959/1.185, allocations: 0.7535 MB / 1.435 GB, free: 9.75 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.185, allocations: 0 / 1.435 GB, free: 9.75 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.884e-06/1.185, allocations: 0 / 1.435 GB, free: 9.75 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.496e-05/1.185, allocations: 0 / 1.435 GB, free: 9.75 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001815/1.187, allocations: 0.7552 MB / 1.435 GB, free: 9.102 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.187, allocations: 8.875 kB / 1.435 GB, free: 9.102 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/1.187, allocations: 61.67 kB / 1.435 GB, free: 9.043 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/1.189, allocations: 156.2 kB / 1.436 GB, free: 8.969 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008856/1.19, allocations: 406.4 kB / 1.436 GB, free: 8.617 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/1.19, allocations: 24.92 kB / 1.436 GB, free: 8.605 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-05/1.19, allocations: 36.56 kB / 1.436 GB, free: 8.59 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006507/1.19, allocations: 326.2 kB / 1.436 GB, free: 8.398 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/1.19, allocations: 0 / 1.436 GB, free: 8.398 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/1.19, allocations: 16.12 kB / 1.436 GB, free: 8.387 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/1.19, allocations: 6.875 kB / 1.436 GB, free: 8.387 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005982/1.191, allocations: 315.3 kB / 1.437 GB, free: 8.242 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/1.193, allocations: 1.192 MB / 1.438 GB, free: 7.227 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005343/1.194, allocations: 279.7 kB / 1.438 GB, free: 7.074 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/1.194, allocations: 175.5 kB / 1.438 GB, free: 6.988 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000306/1.194, allocations: 187.1 kB / 1.438 GB, free: 6.793 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/1.194, allocations: 36.06 kB / 1.438 GB, free: 6.75 MB / 1.123 GB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/1.194, allocations: 1.125 kB / 1.439 GB, free: 6.75 MB / 1.123 GB Notification: Performance of matching and sorting (n=35): time 0.00241/1.197, allocations: 1.039 MB / 1.44 GB, free: 6.086 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/1.197, allocations: 58.5 kB / 1.44 GB, free: 6.02 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/1.197, allocations: 321.4 kB / 1.44 GB, free: 5.715 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/1.197, allocations: 33.7 kB / 1.44 GB, free: 5.676 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/1.197, allocations: 180.8 kB / 1.44 GB, free: 5.496 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/1.197, allocations: 126.9 kB / 1.44 GB, free: 5.371 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/1.198, allocations: 57.7 kB / 1.44 GB, free: 5.309 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.198, allocations: 346.8 kB / 1.441 GB, free: 4.961 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/1.198, allocations: 115.9 kB / 1.441 GB, free: 4.848 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/1.198, allocations: 163.8 kB / 1.441 GB, free: 4.68 MB / 1.123 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/1.2, allocations: 0.7626 MB / 1.442 GB, free: 3.895 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.2, allocations: 0 / 1.442 GB, free: 3.895 MB / 1.123 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006635/1.201, allocations: 361.3 kB / 1.442 GB, free: 3.535 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.201, allocations: 4 kB / 1.442 GB, free: 3.531 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.201, allocations: 0 / 1.442 GB, free: 3.531 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/1.201, allocations: 11.97 kB / 1.442 GB, free: 3.52 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/1.201, allocations: 67.91 kB / 1.442 GB, free: 3.453 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/1.201, allocations: 4.031 kB / 1.442 GB, free: 3.449 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/1.202, allocations: 15.98 kB / 1.442 GB, free: 3.434 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/1.202, allocations: 12 kB / 1.442 GB, free: 3.422 MB / 1.123 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002378/1.202, allocations: 177.7 kB / 1.442 GB, free: 3.238 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/1.202, allocations: 43.7 kB / 1.442 GB, free: 3.195 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/1.202, allocations: 56 kB / 1.442 GB, free: 3.141 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/1.202, allocations: 4 kB / 1.442 GB, free: 3.137 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/1.202, allocations: 0 / 1.442 GB, free: 3.137 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005988/1.203, allocations: 416.1 kB / 1.443 GB, free: 2.699 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/1.205, allocations: 1.055 MB / 1.444 GB, free: 1.543 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/1.205, allocations: 12.03 kB / 1.444 GB, free: 1.531 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/1.205, allocations: 83.89 kB / 1.444 GB, free: 1.449 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.888e-06/1.205, allocations: 4 kB / 1.444 GB, free: 1.445 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/1.205, allocations: 15.98 kB / 1.444 GB, free: 1.43 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/1.205, allocations: 11.88 kB / 1.444 GB, free: 1.418 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.205, allocations: 4 kB / 1.444 GB, free: 1.414 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/1.206, allocations: 0.6886 MB / 1.445 GB, free: 0.6641 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/1.206, allocations: 140.8 kB / 1.445 GB, free: 0.5078 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.396e-05/1.206, allocations: 15.92 kB / 1.445 GB, free: 0.4922 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/1.207, allocations: 24.06 kB / 1.445 GB, free: 480 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/1.207, allocations: 35.83 kB / 1.445 GB, free: 444 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/1.207, allocations: 12 kB / 1.445 GB, free: 432 kB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002577/1.207, allocations: 235 kB / 1.445 GB, free: 196 kB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.207, allocations: 0 / 1.445 GB, free: 196 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005125/1.208, allocations: 111.9 kB / 1.445 GB, free: 84 kB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],dynBal.U) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001727/1.209, allocations: 1.305 MB / 1.446 GB, free: 14.71 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0006303/1.21, allocations: 287.7 kB / 1.447 GB, free: 14.43 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.21, allocations: 4 kB / 1.447 GB, free: 14.43 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002942/1.21, allocations: 161.5 kB / 1.447 GB, free: 14.27 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/1.211, allocations: 227.7 kB / 1.447 GB, free: 14.05 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00538/1.217, allocations: 3.68 MB / 1.451 GB, free: 10.2 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/1.217, allocations: 0.8274 MB / 1.451 GB, free: 9.344 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003781/1.218, allocations: 103.2 kB / 1.452 GB, free: 9.238 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/1.218, allocations: 119.4 kB / 1.452 GB, free: 9.121 MB / 1.139 GB Notification: Performance of SimCode: time 8.12e-07/1.218, allocations: 0 / 1.452 GB, free: 9.121 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04367/1.262, allocations: 11.26 MB / 1.463 GB, free: 14.13 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.88/10.14, allocations: 11.94 kB / 1.463 GB, free: 14.12 MB / 1.154 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent_fmu --startTime=0 --stopTime=2700 --stepSize=1.08 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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: 16.06844115583226]