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.001655/0.001655, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001549/0.001549, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9208/0.9208, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.642/1.642, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="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 3.567e-06/3.567e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.688e-05, allocations: 13.17 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.6092/0.6093, allocations: 141 MB / 1.088 GB, free: 39.39 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003429/0.6127, allocations: 3.534 MB / 1.092 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000329/0.613, allocations: 22.31 kB / 1.092 GB, free: 39.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005561/0.6136, allocations: 185.5 kB / 1.092 GB, free: 38.98 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.6152, allocations: 0.8805 MB / 1.093 GB, free: 38.86 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007671/0.6159, allocations: 454.1 kB / 1.093 GB, free: 38.84 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009381/0.6169, allocations: 1.044 MB / 1.094 GB, free: 38.81 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.6172, allocations: 237.9 kB / 1.094 GB, free: 38.73 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005229/0.6177, allocations: 0.5298 MB / 1.095 GB, free: 38.53 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006322/0.6183, allocations: 310 kB / 1.095 GB, free: 38.46 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.6184, allocations: 30.56 kB / 1.095 GB, free: 38.46 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008678/0.6192, allocations: 0.6094 MB / 1.096 GB, free: 38.31 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.6194, allocations: 178.5 kB / 1.096 GB, free: 38.25 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.6195, allocations: 149.1 kB / 1.096 GB, free: 38.2 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007607/0.6202, allocations: 0.7678 MB / 1.097 GB, free: 37.98 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.6202, allocations: 3.938 kB / 1.097 GB, free: 37.98 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6202, allocations: 2.312 kB / 1.097 GB, free: 37.98 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.6202, allocations: 0 / 1.097 GB, free: 37.98 MB / 0.9948 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.0007412/0.621, allocations: 0.679 MB / 1.098 GB, free: 37.49 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.621, allocations: 8.438 kB / 1.098 GB, free: 37.49 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.6211, allocations: 64.44 kB / 1.098 GB, free: 37.43 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006114/0.6217, allocations: 147.6 kB / 1.098 GB, free: 37.4 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.6221, allocations: 346.4 kB / 1.098 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.6221, allocations: 22.59 kB / 1.098 GB, free: 37.16 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.6222, allocations: 31.16 kB / 1.098 GB, free: 37.14 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.6226, allocations: 432.6 kB / 1.099 GB, free: 36.89 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.6226, allocations: 4 kB / 1.099 GB, free: 36.89 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.6226, allocations: 14.88 kB / 1.099 GB, free: 36.88 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.6226, allocations: 6.453 kB / 1.099 GB, free: 36.88 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003619/0.623, allocations: 303.6 kB / 1.099 GB, free: 36.79 MB / 0.9948 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.001249/0.6242, allocations: 0.8612 MB / 1.1 GB, free: 36.3 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/0.6247, allocations: 267.2 kB / 1.1 GB, free: 36.2 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.6249, allocations: 178.7 kB / 1.1 GB, free: 36.13 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.6251, allocations: 40.86 kB / 1.1 GB, free: 36.12 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.6251, allocations: 33.95 kB / 1.1 GB, free: 36.09 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.6251, allocations: 0.5938 kB / 1.1 GB, free: 36.09 MB / 0.9948 GB Notification: Performance of matching and sorting (n=35): time 0.001683/0.6268, allocations: 0.957 MB / 1.101 GB, free: 35.62 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.6268, allocations: 56.59 kB / 1.101 GB, free: 35.55 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.6271, allocations: 318.5 kB / 1.102 GB, free: 35.39 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.6271, allocations: 36.11 kB / 1.102 GB, free: 35.35 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.813e-05/0.6272, allocations: 177.8 kB / 1.102 GB, free: 35.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.067e-05/0.6273, allocations: 124.5 kB / 1.102 GB, free: 35.11 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-05/0.6274, allocations: 64.39 kB / 1.102 GB, free: 35.07 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.586e-05/0.6274, allocations: 347.1 kB / 1.102 GB, free: 34.74 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.6276, allocations: 111.5 kB / 1.102 GB, free: 34.71 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.6278, allocations: 274.8 kB / 1.103 GB, free: 34.51 MB / 0.9948 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.001146/0.6289, allocations: 0.6874 MB / 1.103 GB, free: 34.29 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6289, allocations: 1.062 kB / 1.103 GB, free: 34.29 MB / 0.9948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004301/0.6293, allocations: 357.5 kB / 1.104 GB, free: 34.14 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.6294, allocations: 13.23 kB / 1.104 GB, free: 34.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6294, allocations: 0 / 1.104 GB, free: 34.13 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.6294, allocations: 2.25 kB / 1.104 GB, free: 34.13 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.6296, allocations: 64.06 kB / 1.104 GB, free: 34.13 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.6296, allocations: 3.766 kB / 1.104 GB, free: 34.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.6298, allocations: 22.41 kB / 1.104 GB, free: 34.12 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.6298, allocations: 9.672 kB / 1.104 GB, free: 34.12 MB / 0.9948 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.0001447/0.6299, allocations: 178.7 kB / 1.104 GB, free: 33.97 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.63, allocations: 38.03 kB / 1.104 GB, free: 33.95 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.628e-05/0.63, allocations: 54.28 kB / 1.104 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6301, allocations: 3.609 kB / 1.104 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.6301, allocations: 2.312 kB / 1.104 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003693/0.6304, allocations: 414 kB / 1.104 GB, free: 33.66 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.6315, allocations: 0.9817 MB / 1.105 GB, free: 33.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.6315, allocations: 4.188 kB / 1.105 GB, free: 33.05 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.6317, allocations: 83.17 kB / 1.105 GB, free: 33.04 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.6317, allocations: 9.062 kB / 1.105 GB, free: 33.04 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.6317, allocations: 11.2 kB / 1.105 GB, free: 33.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.6318, allocations: 14.28 kB / 1.105 GB, free: 33.03 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6318, allocations: 4.219 kB / 1.105 GB, free: 33.03 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006244/0.6324, allocations: 0.6744 MB / 1.106 GB, free: 32.61 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.6325, allocations: 67.16 kB / 1.106 GB, free: 32.58 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.6325, allocations: 20.02 kB / 1.106 GB, free: 32.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.6327, allocations: 20.02 kB / 1.106 GB, free: 32.56 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.6328, allocations: 41.16 kB / 1.106 GB, free: 32.55 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.6328, allocations: 13.06 kB / 1.106 GB, free: 32.55 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001594/0.6329, allocations: 233.6 kB / 1.107 GB, free: 32.42 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.6329, allocations: 1.344 kB / 1.107 GB, free: 32.42 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003602/0.6333, allocations: 105.2 kB / 1.107 GB, free: 32.41 MB / 0.9948 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.0009397/0.6342, allocations: 1.278 MB / 1.108 GB, free: 31.44 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004416/0.6347, allocations: 304 kB / 1.108 GB, free: 31.35 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6347, allocations: 0 / 1.108 GB, free: 31.35 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.6349, allocations: 158.8 kB / 1.108 GB, free: 31.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007622/0.6356, allocations: 230.3 kB / 1.109 GB, free: 31.23 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.6391, allocations: 3.609 MB / 1.112 GB, free: 28.99 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.6393, allocations: 218.8 kB / 1.112 GB, free: 28.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003049/0.6396, allocations: 101.8 kB / 1.112 GB, free: 28.89 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.6397, allocations: 121.5 kB / 1.112 GB, free: 28.8 MB / 0.9948 GB Notification: Performance of SimCode: time 1.052e-06/0.6397, allocations: 4 kB / 1.112 GB, free: 28.8 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.6717, allocations: 12.56 MB / 1.125 GB, free: 26.95 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.578/8.25, allocations: 8.469 kB / 1.125 GB, free: 26.95 MB / 0.9948 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv --start-time 0 --stop-time 2700 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.08 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable dynBal.Q_flow in file Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv. Warning: Get data of variable dynBal.Q_flow from file Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv failed! Error: Could not read variable dynBal.mWat_flow in file Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv. Warning: Get data of variable dynBal.mWat_flow from file Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv failed! Error: Could not read variable dynBal.medium.T in file Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv. Warning: Get data of variable dynBal.medium.T from file Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.383026484400034]