Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.001301/0.001301, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001354/0.001354, allocations: 219.8 kB / 23.03 MB, free: 4.941 MB / 14.72 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 1.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.056/3.056, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 64.69 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3138, allocations: 176.1 MB / 1.327 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1848/0.4986, allocations: 143.8 MB / 1.467 GB, free: 1.18 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005958/0.5045, allocations: 4.217 MB / 1.471 GB, free: 12.96 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004194/0.5049, allocations: 15.88 kB / 1.471 GB, free: 12.94 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.5054, allocations: 131.1 kB / 1.471 GB, free: 12.81 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.5069, allocations: 0.5562 MB / 1.472 GB, free: 12.25 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.5089, allocations: 0.8055 MB / 1.473 GB, free: 11.45 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007859/0.5097, allocations: 0.5846 MB / 1.473 GB, free: 10.86 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003204/0.51, allocations: 169.4 kB / 1.473 GB, free: 10.69 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.5115, allocations: 0.6656 MB / 1.474 GB, free: 10.02 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006148/0.5121, allocations: 318.7 kB / 1.474 GB, free: 9.711 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/0.5121, allocations: 16 kB / 1.474 GB, free: 9.695 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.5137, allocations: 0.8687 MB / 1.475 GB, free: 8.824 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.5138, allocations: 91.73 kB / 1.475 GB, free: 8.734 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.5139, allocations: 99.53 kB / 1.475 GB, free: 8.637 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.515, allocations: 0.6815 MB / 1.476 GB, free: 7.953 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.515, allocations: 0 / 1.476 GB, free: 7.953 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.272e-06/0.515, allocations: 0 / 1.476 GB, free: 7.953 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.515, allocations: 4 kB / 1.476 GB, free: 7.949 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009409/0.5159, allocations: 0.5313 MB / 1.477 GB, free: 7.387 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.516, allocations: 12.03 kB / 1.477 GB, free: 7.375 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.983e-05/0.516, allocations: 8 kB / 1.477 GB, free: 7.367 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.579e-05/0.5161, allocations: 54.48 kB / 1.477 GB, free: 7.305 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006596/0.5167, allocations: 79.75 kB / 1.477 GB, free: 7.227 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.5171, allocations: 233.7 kB / 1.477 GB, free: 6.973 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.5172, allocations: 20 kB / 1.477 GB, free: 6.953 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.5172, allocations: 20 kB / 1.477 GB, free: 6.934 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.5177, allocations: 284.1 kB / 1.477 GB, free: 6.629 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5177, allocations: 3.938 kB / 1.477 GB, free: 6.625 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.5177, allocations: 15.94 kB / 1.477 GB, free: 6.609 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.5178, allocations: 4 kB / 1.477 GB, free: 6.605 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.5182, allocations: 203.5 kB / 1.477 GB, free: 6.406 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.5198, allocations: 1.171 MB / 1.479 GB, free: 5.16 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.5201, allocations: 165 kB / 1.479 GB, free: 4.953 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.5203, allocations: 108.2 kB / 1.479 GB, free: 4.832 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006324/0.5209, allocations: 111.9 kB / 1.479 GB, free: 4.723 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.521, allocations: 34.56 kB / 1.479 GB, free: 4.68 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.521, allocations: 0 / 1.479 GB, free: 4.68 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0007612/0.5217, allocations: 285.1 kB / 1.479 GB, free: 4.395 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.112e-05/0.5218, allocations: 158.2 kB / 1.479 GB, free: 4.203 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.5221, allocations: 292.2 kB / 1.48 GB, free: 3.91 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.5222, allocations: 25.7 kB / 1.48 GB, free: 3.879 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.5223, allocations: 155.9 kB / 1.48 GB, free: 3.723 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.5223, allocations: 43.64 kB / 1.48 GB, free: 3.68 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.5224, allocations: 46.16 kB / 1.48 GB, free: 3.629 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.5226, allocations: 342.8 kB / 1.48 GB, free: 3.285 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.5227, allocations: 67.94 kB / 1.48 GB, free: 3.219 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.523, allocations: 249.1 kB / 1.481 GB, free: 2.922 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.5234, allocations: 207.5 kB / 1.481 GB, free: 2.691 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5234, allocations: 0 / 1.481 GB, free: 2.691 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005174/0.5239, allocations: 249.2 kB / 1.481 GB, free: 2.441 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.5239, allocations: 4.25 kB / 1.481 GB, free: 2.438 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.5239, allocations: 8 kB / 1.481 GB, free: 2.43 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.524, allocations: 4 kB / 1.481 GB, free: 2.426 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.5242, allocations: 35.92 kB / 1.481 GB, free: 2.391 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.5242, allocations: 4 kB / 1.481 GB, free: 2.387 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.5244, allocations: 35.7 kB / 1.481 GB, free: 2.352 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.5244, allocations: 15.98 kB / 1.481 GB, free: 2.336 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001571/0.5246, allocations: 149.8 kB / 1.481 GB, free: 2.18 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.5247, allocations: 23.86 kB / 1.481 GB, free: 2.156 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004934/0.5252, allocations: 185.9 kB / 1.481 GB, free: 1.953 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.5252, allocations: 4 kB / 1.481 GB, free: 1.949 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5252, allocations: 4 kB / 1.481 GB, free: 1.945 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.5252, allocations: 8 kB / 1.482 GB, free: 1.938 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.5263, allocations: 0.8076 MB / 1.482 GB, free: 1.062 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5263, allocations: 3.938 kB / 1.482 GB, free: 1.059 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.5264, allocations: 19.98 kB / 1.482 GB, free: 1.039 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5264, allocations: 4 kB / 1.482 GB, free: 1.035 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.5264, allocations: 16.03 kB / 1.482 GB, free: 1.02 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5264, allocations: 0 / 1.482 GB, free: 1.02 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5264, allocations: 0 / 1.482 GB, free: 1.02 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005567/0.527, allocations: 351.4 kB / 1.483 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.796e-05/0.5271, allocations: 31.78 kB / 1.483 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.5271, allocations: 4 kB / 1.483 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.5273, allocations: 11.98 kB / 1.483 GB, free: 0.5977 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.5273, allocations: 16.05 kB / 1.483 GB, free: 0.582 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.5273, allocations: 4 kB / 1.483 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002426/0.5276, allocations: 239 kB / 1.483 GB, free: 356 kB / 1.17 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5276, allocations: 0 / 1.483 GB, free: 356 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004777/0.528, allocations: 99.8 kB / 1.483 GB, free: 256 kB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.001188/0.5292, allocations: 0.9739 MB / 1.484 GB, free: 15.23 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003823/0.5296, allocations: 143.8 kB / 1.484 GB, free: 15.09 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5296, allocations: 0 / 1.484 GB, free: 15.09 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.5298, allocations: 64.66 kB / 1.484 GB, free: 15.03 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007271/0.5305, allocations: 145 kB / 1.484 GB, free: 14.89 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/0.5341, allocations: 2.772 MB / 1.487 GB, free: 11.96 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.5343, allocations: 150.2 kB / 1.487 GB, free: 11.8 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001914/0.5345, allocations: 58.94 kB / 1.487 GB, free: 11.74 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.5346, allocations: 75.42 kB / 1.487 GB, free: 11.66 MB / 1.186 GB Notification: Performance of SimCode: time 7.22e-07/0.5346, allocations: 0 / 1.487 GB, free: 11.66 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03329/0.5679, allocations: 9.268 MB / 1.496 GB, free: 2.684 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.9, allocations: 8.062 kB / 1.496 GB, free: 2.676 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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: 18.3235846250318]