Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.PPM,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_PPM",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.0009793/0.0009837, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006037/0.006037, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.669/2.669, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003519, allocations: 14.8 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2827, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.7964/1.079, allocations: 215.7 MB / 1.269 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0269/1.106, allocations: 22.2 MB / 1.291 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002769/1.109, allocations: 48.22 kB / 1.291 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002703/1.112, allocations: 0.6732 MB / 1.292 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01407/1.126, allocations: 4.132 MB / 1.296 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003642/1.129, allocations: 1.117 MB / 1.297 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007073/1.136, allocations: 5.666 MB / 1.302 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002484/1.139, allocations: 1.334 MB / 1.304 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0042/1.143, allocations: 1.585 MB / 1.305 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003866/1.147, allocations: 1.61 MB / 1.307 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003044/1.147, allocations: 73.59 kB / 1.307 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004723/1.152, allocations: 2.418 MB / 1.309 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007251/1.153, allocations: 0.6705 MB / 1.31 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/1.154, allocations: 0.913 MB / 1.311 GB, free: 17.89 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003745/1.158, allocations: 3.127 MB / 1.314 GB, free: 17.7 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.158, allocations: 0 / 1.314 GB, free: 17.7 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.904e-06/1.158, allocations: 7.062 kB / 1.314 GB, free: 17.7 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.375e-05/1.158, allocations: 0 / 1.314 GB, free: 17.7 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.002664/1.161, allocations: 1.808 MB / 1.316 GB, free: 16.69 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/1.161, allocations: 13.56 kB / 1.316 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002255/1.161, allocations: 197.6 kB / 1.316 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/1.163, allocations: 410 kB / 1.316 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/1.165, allocations: 1.151 MB / 1.317 GB, free: 16.13 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/1.165, allocations: 107 kB / 1.317 GB, free: 16.12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/1.165, allocations: 141.2 kB / 1.318 GB, free: 16.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/1.167, allocations: 1.629 MB / 1.319 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/1.167, allocations: 2.625 kB / 1.319 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/1.167, allocations: 55.41 kB / 1.319 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-05/1.167, allocations: 53.3 kB / 1.319 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/1.169, allocations: 1.327 MB / 1.321 GB, free: 15.89 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.007467/1.176, allocations: 7.166 MB / 1.328 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/1.178, allocations: 0.9205 MB / 1.329 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/1.178, allocations: 478.2 kB / 1.329 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000696/1.179, allocations: 422.1 kB / 1.329 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/1.179, allocations: 52.7 kB / 1.329 GB, free: 11.37 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 2.875e-06/1.179, allocations: 0 / 1.329 GB, free: 11.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.002748/1.182, allocations: 1.655 MB / 1.331 GB, free: 10.92 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.963e-05/1.182, allocations: 65.78 kB / 1.331 GB, free: 10.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/1.183, allocations: 1.19 MB / 1.332 GB, free: 10.69 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.481e-05/1.183, allocations: 43.11 kB / 1.332 GB, free: 10.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005423/1.184, allocations: 0.7199 MB / 1.333 GB, free: 10.38 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/1.184, allocations: 296.4 kB / 1.333 GB, free: 10.19 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/1.184, allocations: 89.64 kB / 1.333 GB, free: 10.18 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001795/1.184, allocations: 344.6 kB / 1.334 GB, free: 9.871 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004827/1.185, allocations: 358.8 kB / 1.334 GB, free: 9.871 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008194/1.186, allocations: 0.726 MB / 1.335 GB, free: 9.469 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/1.187, allocations: 1.069 MB / 1.336 GB, free: 9.156 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/1.187, allocations: 4 kB / 1.336 GB, free: 9.152 MB / 1.014 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001847/1.189, allocations: 1.282 MB / 1.337 GB, free: 9.004 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002516/1.189, allocations: 347.5 kB / 1.337 GB, free: 8.609 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.189, allocations: 12.77 kB / 1.337 GB, free: 8.605 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002721/1.189, allocations: 130.9 kB / 1.338 GB, free: 8.578 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008759/1.19, allocations: 221.2 kB / 1.338 GB, free: 8.578 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004841/1.195, allocations: 5.436 MB / 1.343 GB, free: 3.969 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/1.197, allocations: 196.5 kB / 1.343 GB, free: 3.895 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.328e-05/1.197, allocations: 48.62 kB / 1.343 GB, free: 3.891 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.652e-06/1.197, allocations: 2.906 kB / 1.343 GB, free: 3.891 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001449/1.198, allocations: 1.13 MB / 1.344 GB, free: 3.848 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/1.198, allocations: 8.438 kB / 1.344 GB, free: 3.848 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/1.198, allocations: 135.1 kB / 1.345 GB, free: 3.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006826/1.199, allocations: 210.5 kB / 1.345 GB, free: 3.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004233/1.203, allocations: 4.831 MB / 1.349 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/1.205, allocations: 183.2 kB / 1.35 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/1.205, allocations: 47.44 kB / 1.35 GB, free: 15.73 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (116): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007969/1.206, allocations: 0.5076 MB / 1.35 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/1.206, allocations: 136.8 kB / 1.35 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/1.207, allocations: 1.074 MB / 1.351 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/1.207, allocations: 13.31 kB / 1.351 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/1.207, allocations: 0 / 1.351 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001137/1.208, allocations: 1.029 MB / 1.352 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/1.212, allocations: 2.588 MB / 1.355 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/1.212, allocations: 5.094 kB / 1.355 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/1.213, allocations: 157.4 kB / 1.355 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002114/1.213, allocations: 126.1 kB / 1.355 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/1.213, allocations: 20.31 kB / 1.355 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004656/1.217, allocations: 5.42 MB / 1.36 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.218, allocations: 2.969 kB / 1.36 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/1.22, allocations: 1.664 MB / 1.362 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006564/1.22, allocations: 320.9 kB / 1.362 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/1.221, allocations: 18.12 kB / 1.362 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000922/1.221, allocations: 94.23 kB / 1.362 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/1.222, allocations: 63.11 kB / 1.363 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.489e-05/1.222, allocations: 31.86 kB / 1.363 GB, free: 9.375 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001224/1.223, allocations: 0.8171 MB / 1.363 GB, free: 9.133 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.1e-07/1.223, allocations: 5.938 kB / 1.363 GB, free: 9.133 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002305/1.225, allocations: 0.8306 MB / 1.364 GB, free: 9.027 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.m,volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * 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 (74): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002805/1.228, allocations: 2.352 MB / 1.367 GB, free: 7.934 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002987/1.231, allocations: 2.204 MB / 1.369 GB, free: 7.016 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.231, allocations: 3.5 kB / 1.369 GB, free: 7.016 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008649/1.232, allocations: 0.7983 MB / 1.369 GB, free: 6.609 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003921/1.236, allocations: 0.7972 MB / 1.37 GB, free: 6.348 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/1.253, allocations: 12.41 MB / 1.382 GB, free: 15.41 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/1.254, allocations: 1.399 MB / 1.384 GB, free: 14.39 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001743/1.256, allocations: 444.9 kB / 1.384 GB, free: 14.19 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008109/1.257, allocations: 0.5749 MB / 1.385 GB, free: 13.71 MB / 1.045 GB Notification: Performance of SimCode: time 1.453e-06/1.257, allocations: 3.062 kB / 1.385 GB, free: 13.71 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07184/1.329, allocations: 41.42 MB / 1.425 GB, free: 8.996 MB / 1.076 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/1.329, allocations: 266.8 kB / 1.425 GB, free: 8.699 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/4.25, allocations: 4 kB / 1.425 GB, free: 8.695 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_PPM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches