Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.Density.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Sensors.Examples.Density,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Density",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.007494/0.007494, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 197.9 kB / 16.67 MB, free: 5.926 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.55 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2814, allocations: 140.4 MB / 1.087 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.8239/1.105, allocations: 185 MB / 1.268 GB, free: 3.207 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008831/1.114, allocations: 6.971 MB / 1.275 GB, free: 3.152 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009192/1.115, allocations: 30.16 kB / 1.275 GB, free: 3.152 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/1.116, allocations: 403.4 kB / 1.275 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003591/1.12, allocations: 1.442 MB / 1.277 GB, free: 3.086 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003141/1.123, allocations: 1.167 MB / 1.278 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003064/1.126, allocations: 1.941 MB / 1.28 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/1.127, allocations: 0.6585 MB / 1.28 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/1.129, allocations: 0.843 MB / 1.281 GB, free: 2.977 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/1.131, allocations: 0.6011 MB / 1.282 GB, free: 2.977 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/1.131, allocations: 68.06 kB / 1.282 GB, free: 2.977 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005679/1.136, allocations: 1.928 MB / 1.284 GB, free: 2.957 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007556/1.137, allocations: 293 kB / 1.284 GB, free: 2.953 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001115/1.138, allocations: 433.7 kB / 1.285 GB, free: 2.953 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005619/1.144, allocations: 1.761 MB / 1.286 GB, free: 2.855 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/1.144, allocations: 0 / 1.286 GB, free: 2.855 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.074e-06/1.144, allocations: 1.25 kB / 1.286 GB, free: 2.855 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.04e-05/1.144, allocations: 1.125 kB / 1.286 GB, free: 2.855 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002014/1.146, allocations: 1.154 MB / 1.287 GB, free: 2.176 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/1.146, allocations: 10.95 kB / 1.287 GB, free: 2.176 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/1.146, allocations: 93.53 kB / 1.287 GB, free: 2.137 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/1.148, allocations: 277.4 kB / 1.288 GB, free: 2.094 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/1.149, allocations: 0.6144 MB / 1.288 GB, free: 1.809 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/1.149, allocations: 41.5 kB / 1.288 GB, free: 1.809 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-05/1.149, allocations: 55.16 kB / 1.288 GB, free: 1.809 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/1.15, allocations: 0.6341 MB / 1.289 GB, free: 1.734 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/1.15, allocations: 0 / 1.289 GB, free: 1.734 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/1.15, allocations: 25.84 kB / 1.289 GB, free: 1.734 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/1.15, allocations: 21.61 kB / 1.289 GB, free: 1.734 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009257/1.151, allocations: 0.517 MB / 1.29 GB, free: 1.727 MB / 1.014 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.003083/1.154, allocations: 2.455 MB / 1.292 GB, free: 16.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006677/1.155, allocations: 365.8 kB / 1.292 GB, free: 16.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/1.155, allocations: 236.9 kB / 1.293 GB, free: 16.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006006/1.156, allocations: 309.3 kB / 1.293 GB, free: 16.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/1.156, allocations: 38.55 kB / 1.293 GB, free: 16.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=39): time 1.724e-06/1.156, allocations: 2.188 kB / 1.293 GB, free: 16.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=39): time 0.001347/1.157, allocations: 0.6193 MB / 1.294 GB, free: 15.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/1.158, allocations: 56.47 kB / 1.294 GB, free: 15.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005966/1.158, allocations: 0.4921 MB / 1.294 GB, free: 15.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/1.158, allocations: 37.03 kB / 1.294 GB, free: 15.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/1.158, allocations: 327.5 kB / 1.294 GB, free: 15.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/1.159, allocations: 135 kB / 1.295 GB, free: 15.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/1.159, allocations: 88.08 kB / 1.295 GB, free: 15.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.159, allocations: 368.1 kB / 1.295 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/1.159, allocations: 178.1 kB / 1.295 GB, free: 15.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/1.16, allocations: 281.4 kB / 1.295 GB, free: 15.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007091/1.16, allocations: 451.8 kB / 1.296 GB, free: 14.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.16, allocations: 4.938 kB / 1.296 GB, free: 14.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009223/1.161, allocations: 0.5323 MB / 1.296 GB, free: 14.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/1.161, allocations: 6.25 kB / 1.296 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.161, allocations: 3.281 kB / 1.296 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/1.161, allocations: 5.219 kB / 1.296 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006887/1.162, allocations: 130.1 kB / 1.297 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004043/1.162, allocations: 0.5935 MB / 1.297 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005205/1.163, allocations: 57.44 kB / 1.297 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/1.163, allocations: 18.91 kB / 1.297 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005291/1.164, allocations: 352.5 kB / 1.297 GB, free: 14.22 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004247/1.164, allocations: 281.5 kB / 1.298 GB, free: 14.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007143/1.165, allocations: 450.2 kB / 1.298 GB, free: 14.03 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/1.165, allocations: 2.891 kB / 1.298 GB, free: 14.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009037/1.166, allocations: 0.5266 MB / 1.299 GB, free: 13.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/1.166, allocations: 6.375 kB / 1.299 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/1.166, allocations: 3.562 kB / 1.299 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/1.166, allocations: 4.781 kB / 1.299 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/1.166, allocations: 117.3 kB / 1.299 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.166, allocations: 9.359 kB / 1.299 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/1.167, allocations: 42.84 kB / 1.299 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/1.167, allocations: 22.3 kB / 1.299 GB, free: 13.93 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001652/1.167, allocations: 207.4 kB / 1.299 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/1.167, allocations: 62.2 kB / 1.299 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009032/1.168, allocations: 482 kB / 1.3 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/1.168, allocations: 5.594 kB / 1.3 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.168, allocations: 0 / 1.3 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008523/1.169, allocations: 0.71 MB / 1.3 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/1.171, allocations: 1.291 MB / 1.302 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/1.171, allocations: 1.469 kB / 1.302 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006053/1.171, allocations: 129.9 kB / 1.302 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/1.171, allocations: 2.5 kB / 1.302 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/1.171, allocations: 11.64 kB / 1.302 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003184/1.172, allocations: 0.5953 MB / 1.302 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.172, allocations: 2.594 kB / 1.302 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/1.173, allocations: 0.7902 MB / 1.303 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/1.173, allocations: 192.4 kB / 1.303 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/1.173, allocations: 8.5 kB / 1.303 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/1.174, allocations: 25.28 kB / 1.303 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/1.174, allocations: 32.23 kB / 1.303 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/1.174, allocations: 22.69 kB / 1.303 GB, free: 11.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003909/1.174, allocations: 352.6 kB / 1.304 GB, free: 11.81 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.174, allocations: 1.625 kB / 1.304 GB, free: 11.81 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001102/1.175, allocations: 356.2 kB / 1.304 GB, free: 11.77 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00176/1.177, allocations: 1.447 MB / 1.305 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001446/1.179, allocations: 0.6732 MB / 1.306 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.179, allocations: 4.625 kB / 1.306 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00043/1.179, allocations: 222.7 kB / 1.306 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/1.181, allocations: 357.2 kB / 1.307 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006399/1.187, allocations: 5.016 MB / 1.312 GB, free: 9.016 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/1.188, allocations: 0.9491 MB / 1.312 GB, free: 8.305 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006986/1.188, allocations: 207.5 kB / 1.313 GB, free: 8.266 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/1.189, allocations: 223.7 kB / 1.313 GB, free: 8.258 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/1.189, allocations: 0 / 1.313 GB, free: 8.258 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04004/1.229, allocations: 18.15 MB / 1.331 GB, free: 6.715 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/13.29, allocations: 5.531 kB / 1.331 GB, free: 6.715 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.Density_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches