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.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.001484/0.001484, allocations: 116.8 kB / 17.17 MB, free: 6 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.001667/0.001667, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.844/2.844, allocations: 476.7 MB / 0.7678 GB, free: 9.523 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",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.001962/0.001962, allocations: 63.91 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9586/0.9606, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.206/1.167, allocations: 163.5 MB / 1.439 GB, free: 8.43 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005868/1.172, allocations: 3.827 MB / 1.442 GB, free: 4.59 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004335/1.173, allocations: 15.88 kB / 1.442 GB, free: 4.574 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007239/1.174, allocations: 194.6 kB / 1.443 GB, free: 4.383 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002501/1.176, allocations: 0.8752 MB / 1.443 GB, free: 3.504 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/1.177, allocations: 428.1 kB / 1.444 GB, free: 3.09 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001569/1.179, allocations: 1.022 MB / 1.445 GB, free: 2.066 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004933/1.179, allocations: 256.9 kB / 1.445 GB, free: 1.812 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000784/1.18, allocations: 438.3 kB / 1.446 GB, free: 1.383 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/1.181, allocations: 339.9 kB / 1.446 GB, free: 1.055 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 8.778e-05/1.181, allocations: 28 kB / 1.446 GB, free: 1.027 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/1.183, allocations: 0.7676 MB / 1.447 GB, free: 264 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002408/1.183, allocations: 163.5 kB / 1.447 GB, free: 100 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003105/1.184, allocations: 214.9 kB / 1.447 GB, free: 15.89 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/1.185, allocations: 0.7591 MB / 1.448 GB, free: 15.12 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.185, allocations: 0 / 1.448 GB, free: 15.12 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.144e-06/1.185, allocations: 0 / 1.448 GB, free: 15.12 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.563e-05/1.185, allocations: 0 / 1.448 GB, free: 15.12 MB / 1.139 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.001304/1.186, allocations: 0.7533 MB / 1.448 GB, free: 14.32 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.186, allocations: 12.03 kB / 1.448 GB, free: 14.31 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.051e-05/1.186, allocations: 8.656 kB / 1.448 GB, free: 14.3 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.852e-05/1.186, allocations: 66.53 kB / 1.449 GB, free: 14.23 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/1.188, allocations: 151.5 kB / 1.449 GB, free: 14.08 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006541/1.188, allocations: 398.8 kB / 1.449 GB, free: 13.66 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/1.188, allocations: 24.66 kB / 1.449 GB, free: 13.63 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/1.188, allocations: 32 kB / 1.449 GB, free: 13.6 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006223/1.189, allocations: 322 kB / 1.449 GB, free: 13.28 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/1.189, allocations: 7.953 kB / 1.449 GB, free: 13.27 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/1.189, allocations: 15.98 kB / 1.449 GB, free: 13.25 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/1.189, allocations: 8 kB / 1.449 GB, free: 13.25 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005675/1.19, allocations: 306.4 kB / 1.45 GB, free: 12.95 MB / 1.139 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.001878/1.191, allocations: 1.201 MB / 1.451 GB, free: 11.64 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/1.192, allocations: 275.4 kB / 1.451 GB, free: 11.36 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/1.192, allocations: 177.2 kB / 1.451 GB, free: 11.18 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003172/1.193, allocations: 190.5 kB / 1.452 GB, free: 10.96 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/1.193, allocations: 38.84 kB / 1.452 GB, free: 10.91 MB / 1.139 GB Notification: Performance of pre-optimization done (n=33): time 2.414e-06/1.193, allocations: 0 / 1.452 GB, free: 10.91 MB / 1.139 GB Notification: Performance of matching and sorting (n=35): time 0.002295/1.195, allocations: 1.047 MB / 1.453 GB, free: 9.816 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/1.195, allocations: 55.41 kB / 1.453 GB, free: 9.75 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/1.195, allocations: 316.5 kB / 1.453 GB, free: 9.43 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/1.195, allocations: 33.7 kB / 1.453 GB, free: 9.391 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/1.196, allocations: 180.8 kB / 1.453 GB, free: 9.211 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/1.196, allocations: 134.8 kB / 1.453 GB, free: 9.078 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/1.196, allocations: 57.7 kB / 1.453 GB, free: 9.016 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001796/1.196, allocations: 346.8 kB / 1.454 GB, free: 8.668 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/1.196, allocations: 119.9 kB / 1.454 GB, free: 8.551 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/1.196, allocations: 158.2 kB / 1.454 GB, free: 8.387 MB / 1.139 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.001896/1.198, allocations: 0.7575 MB / 1.455 GB, free: 7.609 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.198, allocations: 0 / 1.455 GB, free: 7.609 MB / 1.139 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006769/1.199, allocations: 361 kB / 1.455 GB, free: 7.25 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/1.199, allocations: 4 kB / 1.455 GB, free: 7.246 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/1.199, allocations: 3.938 kB / 1.455 GB, free: 7.242 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/1.199, allocations: 8.031 kB / 1.455 GB, free: 7.234 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/1.199, allocations: 75.84 kB / 1.455 GB, free: 7.16 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/1.199, allocations: 0 / 1.455 GB, free: 7.16 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/1.2, allocations: 15.98 kB / 1.455 GB, free: 7.145 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/1.2, allocations: 12 kB / 1.455 GB, free: 7.133 MB / 1.139 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.0002371/1.2, allocations: 177.7 kB / 1.455 GB, free: 6.949 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.818e-05/1.2, allocations: 35.77 kB / 1.455 GB, free: 6.914 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/1.2, allocations: 60 kB / 1.455 GB, free: 6.852 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/1.2, allocations: 4 kB / 1.455 GB, free: 6.848 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.2, allocations: 0 / 1.455 GB, free: 6.848 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006305/1.201, allocations: 412.3 kB / 1.456 GB, free: 6.414 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/1.203, allocations: 1.061 MB / 1.457 GB, free: 5.25 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.659e-06/1.203, allocations: 4 kB / 1.457 GB, free: 5.246 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003823/1.203, allocations: 79.91 kB / 1.457 GB, free: 5.168 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/1.203, allocations: 11.98 kB / 1.457 GB, free: 5.156 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/1.203, allocations: 11.94 kB / 1.457 GB, free: 5.145 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.259e-05/1.203, allocations: 15.88 kB / 1.457 GB, free: 5.129 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/1.203, allocations: 4 kB / 1.457 GB, free: 5.125 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/1.204, allocations: 0.6879 MB / 1.458 GB, free: 4.375 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/1.204, allocations: 144.8 kB / 1.458 GB, free: 4.215 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.88e-05/1.205, allocations: 15.94 kB / 1.458 GB, free: 4.199 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/1.205, allocations: 19.98 kB / 1.458 GB, free: 4.18 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/1.205, allocations: 31.84 kB / 1.458 GB, free: 4.148 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/1.205, allocations: 12 kB / 1.458 GB, free: 4.137 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002652/1.205, allocations: 239.1 kB / 1.458 GB, free: 3.906 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.205, allocations: 0 / 1.458 GB, free: 3.906 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005232/1.206, allocations: 107.9 kB / 1.458 GB, free: 3.801 MB / 1.139 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.001659/1.207, allocations: 1.283 MB / 1.459 GB, free: 2.445 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0006596/1.208, allocations: 287.6 kB / 1.46 GB, free: 2.164 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.208, allocations: 0 / 1.46 GB, free: 2.164 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003069/1.208, allocations: 167.7 kB / 1.46 GB, free: 2 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/1.21, allocations: 236.3 kB / 1.46 GB, free: 1.773 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005491/1.215, allocations: 3.682 MB / 1.464 GB, free: 13.92 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/1.216, allocations: 0.8235 MB / 1.464 GB, free: 13.07 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003749/1.216, allocations: 111.2 kB / 1.465 GB, free: 12.96 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/1.216, allocations: 115.4 kB / 1.465 GB, free: 12.84 MB / 1.154 GB Notification: Performance of SimCode: time 1.052e-06/1.216, allocations: 4 kB / 1.465 GB, free: 12.84 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/1.251, allocations: 11.26 MB / 1.476 GB, free: 1.871 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.828/10.08, allocations: 3.219 kB / 1.476 GB, free: 1.871 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/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.346883821999654]