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.00126/0.00126, allocations: 116.1 kB / 17.17 MB, free: 6 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.001312/0.001312, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.422/1.422, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.784/2.784, allocations: 0.49 GB / 0.7923 GB, free: 1.352 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.001917/0.001917, allocations: 68.09 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.895/0.8969, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.199/1.096, allocations: 166.7 MB / 1.484 GB, free: 14.05 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.00593/1.102, allocations: 4.62 MB / 1.489 GB, free: 10.33 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003887/1.102, allocations: 18.66 kB / 1.489 GB, free: 10.32 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004385/1.103, allocations: 129 kB / 1.489 GB, free: 10.21 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001345/1.104, allocations: 0.5576 MB / 1.489 GB, free: 9.789 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001866/1.106, allocations: 0.7908 MB / 1.49 GB, free: 9.211 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007305/1.107, allocations: 0.5691 MB / 1.491 GB, free: 8.887 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/1.107, allocations: 189.5 kB / 1.491 GB, free: 8.766 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/1.108, allocations: 0.6795 MB / 1.492 GB, free: 8.324 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005705/1.109, allocations: 305.2 kB / 1.492 GB, free: 8.148 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/1.109, allocations: 16.88 kB / 1.492 GB, free: 8.148 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/1.111, allocations: 1.078 MB / 1.493 GB, free: 7.527 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/1.111, allocations: 93.42 kB / 1.493 GB, free: 7.465 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/1.111, allocations: 124.9 kB / 1.493 GB, free: 7.387 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/1.112, allocations: 0.7232 MB / 1.494 GB, free: 6.949 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/1.112, allocations: 0 / 1.494 GB, free: 6.949 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.182e-06/1.112, allocations: 0 / 1.494 GB, free: 6.949 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.332e-06/1.112, allocations: 1.062 kB / 1.494 GB, free: 6.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.001018/1.113, allocations: 0.6136 MB / 1.494 GB, free: 6.387 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.113, allocations: 13.64 kB / 1.495 GB, free: 6.383 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.372e-05/1.113, allocations: 5.531 kB / 1.495 GB, free: 6.383 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.607e-05/1.113, allocations: 55.92 kB / 1.495 GB, free: 6.324 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006486/1.114, allocations: 79.48 kB / 1.495 GB, free: 6.285 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/1.114, allocations: 297.6 kB / 1.495 GB, free: 6.004 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/1.114, allocations: 19.89 kB / 1.495 GB, free: 5.992 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/1.114, allocations: 17.16 kB / 1.495 GB, free: 5.988 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/1.115, allocations: 292.4 kB / 1.495 GB, free: 5.773 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/1.115, allocations: 0 / 1.495 GB, free: 5.773 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/1.115, allocations: 10.75 kB / 1.495 GB, free: 5.766 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/1.115, allocations: 4.031 kB / 1.495 GB, free: 5.766 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/1.115, allocations: 208.9 kB / 1.495 GB, free: 5.664 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/1.117, allocations: 1.242 MB / 1.497 GB, free: 4.531 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/1.117, allocations: 173 kB / 1.497 GB, free: 4.363 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/1.118, allocations: 108.7 kB / 1.497 GB, free: 4.285 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007339/1.118, allocations: 340.2 kB / 1.497 GB, free: 3.953 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/1.118, allocations: 38.03 kB / 1.497 GB, free: 3.91 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/1.118, allocations: 0 / 1.497 GB, free: 3.91 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0008168/1.119, allocations: 281.3 kB / 1.498 GB, free: 3.758 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.119, allocations: 160.4 kB / 1.498 GB, free: 3.566 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/1.12, allocations: 291.8 kB / 1.498 GB, free: 3.375 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/1.12, allocations: 28.2 kB / 1.498 GB, free: 3.344 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/1.12, allocations: 151.2 kB / 1.498 GB, free: 3.203 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/1.12, allocations: 45.8 kB / 1.498 GB, free: 3.164 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.019e-05/1.12, allocations: 50.16 kB / 1.498 GB, free: 3.125 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.12, allocations: 336.4 kB / 1.499 GB, free: 2.793 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/1.12, allocations: 64.98 kB / 1.499 GB, free: 2.766 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/1.12, allocations: 145.2 kB / 1.499 GB, free: 2.645 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/1.121, allocations: 210.4 kB / 1.499 GB, free: 2.492 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.121, allocations: 3.938 kB / 1.499 GB, free: 2.488 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000527/1.121, allocations: 244 kB / 1.499 GB, free: 2.355 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.121, allocations: 14.88 kB / 1.499 GB, free: 2.348 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/1.121, allocations: 1.5 kB / 1.499 GB, free: 2.348 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/1.121, allocations: 6.703 kB / 1.499 GB, free: 2.344 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/1.122, allocations: 33.2 kB / 1.499 GB, free: 2.34 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/1.122, allocations: 3.188 kB / 1.499 GB, free: 2.34 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/1.122, allocations: 34.95 kB / 1.499 GB, free: 2.316 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/1.122, allocations: 12.09 kB / 1.499 GB, free: 2.312 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.0001547/1.122, allocations: 151.5 kB / 1.499 GB, free: 2.172 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/1.122, allocations: 24.27 kB / 1.499 GB, free: 2.16 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004789/1.123, allocations: 194.4 kB / 1.5 GB, free: 2.012 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.123, allocations: 2.25 kB / 1.5 GB, free: 2.012 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/1.123, allocations: 5.203 kB / 1.5 GB, free: 2.008 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/1.123, allocations: 5.375 kB / 1.5 GB, free: 2.004 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/1.124, allocations: 0.8456 MB / 1.501 GB, free: 1.207 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/1.124, allocations: 5.062 kB / 1.501 GB, free: 1.203 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/1.124, allocations: 21.77 kB / 1.501 GB, free: 1.199 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/1.124, allocations: 2.562 kB / 1.501 GB, free: 1.199 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/1.124, allocations: 2.25 kB / 1.501 GB, free: 1.199 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/1.124, allocations: 1.562 kB / 1.501 GB, free: 1.199 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.124, allocations: 2.375 kB / 1.501 GB, free: 1.199 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005955/1.124, allocations: 345.3 kB / 1.501 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/1.125, allocations: 123.6 kB / 1.501 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/1.125, allocations: 3.312 kB / 1.501 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/1.125, allocations: 12.61 kB / 1.501 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/1.125, allocations: 8.516 kB / 1.501 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/1.125, allocations: 8.594 kB / 1.501 GB, free: 0.7812 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002858/1.125, allocations: 236.1 kB / 1.501 GB, free: 0.625 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.125, allocations: 1.281 kB / 1.501 GB, free: 0.625 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005869/1.126, allocations: 99.69 kB / 1.501 GB, free: 0.5898 MB / 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.001329/1.127, allocations: 0.9778 MB / 1.502 GB, free: 15.57 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004259/1.127, allocations: 152 kB / 1.502 GB, free: 15.42 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.127, allocations: 0 / 1.502 GB, free: 15.42 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/1.128, allocations: 51.91 kB / 1.502 GB, free: 15.37 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007725/1.128, allocations: 135.9 kB / 1.503 GB, free: 15.24 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/1.132, allocations: 2.775 MB / 1.505 GB, free: 12.31 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/1.132, allocations: 0.7558 MB / 1.506 GB, free: 11.53 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002153/1.133, allocations: 62.89 kB / 1.506 GB, free: 11.47 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/1.133, allocations: 79.41 kB / 1.506 GB, free: 11.39 MB / 1.186 GB Notification: Performance of SimCode: time 7.41e-07/1.133, allocations: 0 / 1.506 GB, free: 11.39 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/1.161, allocations: 8.651 MB / 1.515 GB, free: 2.918 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.438/9.6, allocations: 9.094 kB / 1.515 GB, free: 2.91 MB / 1.186 GB " [Timeout remaining time 290] (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: 15.625204815005418]