Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 194.4 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 71.88 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6188/0.6202, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1707/0.791, allocations: 160.1 MB / 1.174 GB, free: 1.746 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005194/0.7962, allocations: 3.808 MB / 1.178 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004565/0.7967, allocations: 15.88 kB / 1.178 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006498/0.7974, allocations: 182.7 kB / 1.178 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.7995, allocations: 0.8439 MB / 1.179 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.8006, allocations: 414.8 kB / 1.179 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001296/0.8019, allocations: 1.015 MB / 1.18 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005271/0.8024, allocations: 296.8 kB / 1.18 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007123/0.8032, allocations: 402.4 kB / 1.181 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000912/0.8041, allocations: 318.7 kB / 1.181 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.026e-05/0.8042, allocations: 28 kB / 1.181 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.8055, allocations: 0.7131 MB / 1.182 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002107/0.8057, allocations: 167.5 kB / 1.182 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.806, allocations: 211 kB / 1.182 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.8073, allocations: 0.7401 MB / 1.183 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8073, allocations: 0 / 1.183 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8073, allocations: 4 kB / 1.183 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2e-05/0.8073, allocations: 0 / 1.183 GB, free: 8.613 MB / 0.9356 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.001273/0.8086, allocations: 0.7362 MB / 1.183 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.8087, allocations: 12.03 kB / 1.183 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.992e-05/0.8087, allocations: 66.53 kB / 1.183 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.8098, allocations: 147.3 kB / 1.184 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.8104, allocations: 378.5 kB / 1.184 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.8105, allocations: 28.66 kB / 1.184 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.8105, allocations: 28 kB / 1.184 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/0.8111, allocations: 333.9 kB / 1.184 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.8111, allocations: 0 / 1.184 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.8112, allocations: 8 kB / 1.184 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.8112, allocations: 8 kB / 1.184 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005506/0.8117, allocations: 310.3 kB / 1.185 GB, free: 6.48 MB / 0.9356 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.001728/0.8135, allocations: 1.209 MB / 1.186 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004695/0.814, allocations: 287.4 kB / 1.186 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.8143, allocations: 183.2 kB / 1.186 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002897/0.8146, allocations: 194.4 kB / 1.186 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.8146, allocations: 38.78 kB / 1.187 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 2.304e-06/0.8146, allocations: 3.938 kB / 1.187 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.002188/0.8168, allocations: 1.039 MB / 1.188 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.8169, allocations: 51.41 kB / 1.188 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.8172, allocations: 316.5 kB / 1.188 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.8173, allocations: 33.7 kB / 1.188 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.8174, allocations: 176.7 kB / 1.188 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.8175, allocations: 122.2 kB / 1.188 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.8176, allocations: 61.7 kB / 1.188 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8178, allocations: 346.8 kB / 1.189 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.818, allocations: 119.7 kB / 1.189 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.8183, allocations: 162.5 kB / 1.189 GB, free: 1.902 MB / 0.9356 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.001778/0.8201, allocations: 0.7659 MB / 1.19 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8201, allocations: 8 kB / 1.19 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006061/0.8207, allocations: 356.7 kB / 1.19 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.8207, allocations: 4 kB / 1.19 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.8207, allocations: 0 / 1.19 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.8208, allocations: 11.97 kB / 1.19 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.8211, allocations: 63.91 kB / 1.19 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.8211, allocations: 0 / 1.19 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.8215, allocations: 20.02 kB / 1.19 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.8215, allocations: 12 kB / 1.19 GB, free: 0.6406 MB / 0.9356 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.0002076/0.8217, allocations: 177.7 kB / 1.19 GB, free: 468 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.068e-05/0.8218, allocations: 39.53 kB / 1.19 GB, free: 428 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.8219, allocations: 52 kB / 1.19 GB, free: 376 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.8219, allocations: 4 kB / 1.19 GB, free: 372 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.822, allocations: 0 / 1.19 GB, free: 372 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000556/0.8225, allocations: 404.2 kB / 1.191 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.8241, allocations: 1.065 MB / 1.192 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.8242, allocations: 8.453 kB / 1.192 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.8245, allocations: 79.91 kB / 1.192 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.8245, allocations: 8 kB / 1.192 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.8246, allocations: 15.98 kB / 1.192 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.8246, allocations: 11.94 kB / 1.192 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.8246, allocations: 7.938 kB / 1.192 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009399/0.8255, allocations: 0.6878 MB / 1.193 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.8257, allocations: 148.5 kB / 1.193 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.8258, allocations: 19.92 kB / 1.193 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.8261, allocations: 12 kB / 1.193 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.454e-05/0.8262, allocations: 39.89 kB / 1.193 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.8263, allocations: 19.94 kB / 1.193 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002083/0.8265, allocations: 231 kB / 1.193 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8265, allocations: 0 / 1.193 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004551/0.8269, allocations: 108 kB / 1.193 GB, free: 13.31 MB / 0.9512 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.001422/0.8284, allocations: 1.294 MB / 1.194 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006106/0.829, allocations: 319.5 kB / 1.195 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.829, allocations: 0 / 1.195 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002761/0.8293, allocations: 176.4 kB / 1.195 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.8305, allocations: 238 kB / 1.195 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004778/0.8353, allocations: 3.686 MB / 1.199 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.8357, allocations: 0.8196 MB / 1.199 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000384/0.8361, allocations: 103.2 kB / 1.2 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.8363, allocations: 123.4 kB / 1.2 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of SimCode: time 1.042e-06/0.8363, allocations: 0 / 1.2 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.8683, allocations: 11.08 MB / 1.211 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/8.647, allocations: 14.36 kB / 1.211 GB, free: 11.48 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv --start-time 0 --stop-time 2700 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.08 Buildings_10_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches