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.000851/0.000851, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008678/0.0008678, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.9117/0.9117, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.638/1.638, allocations: 359 MB / 0.6037 GB, free: 11.09 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 1.443e-06/1.443e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.622e-05, allocations: 9.172 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.6185/0.6185, allocations: 141 MB / 1.088 GB, free: 38.88 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003471/0.6219, allocations: 3.543 MB / 1.092 GB, free: 38.54 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003031/0.6222, allocations: 19.88 kB / 1.092 GB, free: 38.53 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005825/0.6228, allocations: 183.4 kB / 1.092 GB, free: 38.47 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.6245, allocations: 0.8741 MB / 1.093 GB, free: 38.36 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006876/0.6252, allocations: 459.4 kB / 1.093 GB, free: 38.33 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.000928/0.6261, allocations: 1.037 MB / 1.094 GB, free: 38.29 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/0.6264, allocations: 238.3 kB / 1.094 GB, free: 38.27 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005398/0.6269, allocations: 0.53 MB / 1.095 GB, free: 38.19 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006408/0.6276, allocations: 319.2 kB / 1.095 GB, free: 38.15 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.6276, allocations: 29.84 kB / 1.095 GB, free: 38.15 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008348/0.6285, allocations: 0.6084 MB / 1.096 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.6286, allocations: 172 kB / 1.096 GB, free: 38.04 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.6287, allocations: 149.1 kB / 1.096 GB, free: 37.99 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007923/0.6295, allocations: 0.776 MB / 1.097 GB, free: 37.77 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6295, allocations: 0 / 1.097 GB, free: 37.77 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.585e-06/0.6295, allocations: 2.562 kB / 1.097 GB, free: 37.77 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.6295, allocations: 0 / 1.097 GB, free: 37.77 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.000815/0.6303, allocations: 0.6679 MB / 1.098 GB, free: 37.29 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.6304, allocations: 8.156 kB / 1.098 GB, free: 37.29 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.196e-05/0.6304, allocations: 69.28 kB / 1.098 GB, free: 37.23 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006079/0.631, allocations: 154.9 kB / 1.098 GB, free: 37.19 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.6315, allocations: 339.8 kB / 1.098 GB, free: 36.96 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.6315, allocations: 22.8 kB / 1.098 GB, free: 36.95 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.6316, allocations: 30.5 kB / 1.098 GB, free: 36.94 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004303/0.632, allocations: 431.8 kB / 1.099 GB, free: 36.69 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.632, allocations: 0.6094 kB / 1.099 GB, free: 36.69 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.632, allocations: 14.97 kB / 1.099 GB, free: 36.68 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.632, allocations: 12 kB / 1.099 GB, free: 36.67 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003871/0.6324, allocations: 307.8 kB / 1.099 GB, free: 36.58 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.001332/0.6337, allocations: 0.8583 MB / 1.1 GB, free: 36.09 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.6342, allocations: 266.9 kB / 1.1 GB, free: 35.99 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.6345, allocations: 178.3 kB / 1.1 GB, free: 35.93 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.6346, allocations: 33.61 kB / 1.1 GB, free: 35.93 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.6347, allocations: 41.72 kB / 1.1 GB, free: 35.88 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.6347, allocations: 0 / 1.1 GB, free: 35.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=35): time 0.001668/0.6363, allocations: 0.9581 MB / 1.101 GB, free: 35.41 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.6364, allocations: 57.25 kB / 1.101 GB, free: 35.35 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.6366, allocations: 316.8 kB / 1.102 GB, free: 35.18 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.6366, allocations: 36.86 kB / 1.102 GB, free: 35.14 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.6367, allocations: 181.1 kB / 1.102 GB, free: 34.99 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.453e-05/0.6368, allocations: 125.8 kB / 1.102 GB, free: 34.89 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/0.6368, allocations: 62.66 kB / 1.102 GB, free: 34.86 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.147e-05/0.6369, allocations: 347.7 kB / 1.102 GB, free: 34.53 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.6371, allocations: 111.9 kB / 1.102 GB, free: 34.5 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.6372, allocations: 275.1 kB / 1.103 GB, free: 34.3 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.001102/0.6383, allocations: 0.691 MB / 1.103 GB, free: 34.07 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6383, allocations: 0 / 1.103 GB, free: 34.07 MB / 0.9948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003936/0.6387, allocations: 355.1 kB / 1.104 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.6388, allocations: 5.531 kB / 1.104 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.6388, allocations: 4.031 kB / 1.104 GB, free: 33.92 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.6388, allocations: 3.125 kB / 1.104 GB, free: 33.92 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.639, allocations: 63.41 kB / 1.104 GB, free: 33.92 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.639, allocations: 1.734 kB / 1.104 GB, free: 33.92 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.6391, allocations: 17.88 kB / 1.104 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.6392, allocations: 12.89 kB / 1.104 GB, free: 33.91 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.0001307/0.6393, allocations: 179.5 kB / 1.104 GB, free: 33.76 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.6393, allocations: 38.14 kB / 1.104 GB, free: 33.74 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.049e-05/0.6394, allocations: 55.02 kB / 1.104 GB, free: 33.7 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.6394, allocations: 4 kB / 1.104 GB, free: 33.7 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.6394, allocations: 4.625 kB / 1.104 GB, free: 33.7 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003567/0.6398, allocations: 414.6 kB / 1.104 GB, free: 33.45 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.6408, allocations: 0.9767 MB / 1.105 GB, free: 32.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6408, allocations: 3.625 kB / 1.105 GB, free: 32.84 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.6411, allocations: 90.52 kB / 1.105 GB, free: 32.83 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.6411, allocations: 4.969 kB / 1.105 GB, free: 32.83 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.6411, allocations: 12.02 kB / 1.105 GB, free: 32.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.6411, allocations: 5.781 kB / 1.105 GB, free: 32.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.6411, allocations: 13.88 kB / 1.105 GB, free: 32.82 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006159/0.6417, allocations: 0.6738 MB / 1.106 GB, free: 32.4 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.6418, allocations: 67.27 kB / 1.106 GB, free: 32.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.6419, allocations: 11.88 kB / 1.106 GB, free: 32.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.642, allocations: 19.27 kB / 1.106 GB, free: 32.36 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.6421, allocations: 41.11 kB / 1.106 GB, free: 32.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.6421, allocations: 18.45 kB / 1.106 GB, free: 32.34 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001629/0.6423, allocations: 229.8 kB / 1.107 GB, free: 32.21 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6423, allocations: 0 / 1.107 GB, free: 32.21 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003508/0.6426, allocations: 110.2 kB / 1.107 GB, free: 32.2 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.0008928/0.6435, allocations: 1.274 MB / 1.108 GB, free: 31.23 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000419/0.6439, allocations: 305.6 kB / 1.108 GB, free: 31.14 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6439, allocations: 0 / 1.108 GB, free: 31.14 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.6441, allocations: 157.8 kB / 1.108 GB, free: 31.09 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007306/0.6448, allocations: 223 kB / 1.109 GB, free: 31.04 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.6482, allocations: 3.615 MB / 1.112 GB, free: 28.79 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.6484, allocations: 224.4 kB / 1.112 GB, free: 28.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002962/0.6487, allocations: 106.6 kB / 1.112 GB, free: 28.68 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.6488, allocations: 120.9 kB / 1.112 GB, free: 28.6 MB / 0.9948 GB Notification: Performance of SimCode: time 1.012e-06/0.6488, allocations: 0 / 1.112 GB, free: 28.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03205/0.6809, allocations: 12.57 MB / 1.125 GB, free: 26.74 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.5/8.181, allocations: 9.156 kB / 1.125 GB, free: 26.73 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 & /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/jenkins/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: 12.249230843037367]