Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 104 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 443.5 MB / 0.7287 GB, free: 14.56 MB / 0.5762 GB " [Timeout remaining time 177] 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.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.89 kB / 1.056 GB, free: 2.508 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3273, allocations: 160.7 MB / 1.213 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.8519/1.179, allocations: 163.8 MB / 1.373 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006417/1.186, allocations: 4.602 MB / 1.377 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004607/1.186, allocations: 10.28 kB / 1.377 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004959/1.187, allocations: 125.9 kB / 1.377 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001495/1.188, allocations: 0.5569 MB / 1.378 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002421/1.191, allocations: 0.7861 MB / 1.379 GB, free: 10.06 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000905/1.191, allocations: 0.5824 MB / 1.379 GB, free: 9.805 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003495/1.192, allocations: 175.8 kB / 1.38 GB, free: 9.734 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/1.193, allocations: 480.7 kB / 1.38 GB, free: 9.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006313/1.194, allocations: 310.2 kB / 1.38 GB, free: 9.398 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/1.194, allocations: 21.84 kB / 1.38 GB, free: 9.395 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/1.196, allocations: 1.07 MB / 1.381 GB, free: 8.988 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/1.196, allocations: 92.72 kB / 1.381 GB, free: 8.949 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/1.196, allocations: 121.9 kB / 1.382 GB, free: 8.883 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001351/1.197, allocations: 0.7159 MB / 1.382 GB, free: 8.586 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.197, allocations: 0 / 1.382 GB, free: 8.586 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/1.197, allocations: 3.938 kB / 1.382 GB, free: 8.582 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.246e-06/1.197, allocations: 1.156 kB / 1.382 GB, free: 8.582 MB / 1.061 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.001246/1.198, allocations: 0.6054 MB / 1.383 GB, free: 8.027 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/1.199, allocations: 14.06 kB / 1.383 GB, free: 8.023 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.108e-05/1.199, allocations: 48.95 kB / 1.383 GB, free: 7.973 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006782/1.199, allocations: 78.69 kB / 1.383 GB, free: 7.934 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/1.2, allocations: 298.5 kB / 1.383 GB, free: 7.652 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/1.2, allocations: 22.98 kB / 1.383 GB, free: 7.637 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/1.2, allocations: 20.98 kB / 1.383 GB, free: 7.629 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005203/1.2, allocations: 280.6 kB / 1.384 GB, free: 7.426 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.2, allocations: 4 kB / 1.384 GB, free: 7.422 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/1.2, allocations: 13.95 kB / 1.384 GB, free: 7.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/1.2, allocations: 9.219 kB / 1.384 GB, free: 7.406 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/1.201, allocations: 204.3 kB / 1.384 GB, free: 7.309 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/1.203, allocations: 1.243 MB / 1.385 GB, free: 6.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/1.203, allocations: 173.1 kB / 1.385 GB, free: 6.012 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/1.203, allocations: 108.6 kB / 1.385 GB, free: 5.934 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007858/1.204, allocations: 324.3 kB / 1.386 GB, free: 5.617 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/1.204, allocations: 44.97 kB / 1.386 GB, free: 5.566 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/1.204, allocations: 1 kB / 1.386 GB, free: 5.566 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008023/1.205, allocations: 277.1 kB / 1.386 GB, free: 5.418 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.205, allocations: 165.3 kB / 1.386 GB, free: 5.223 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/1.205, allocations: 283.3 kB / 1.386 GB, free: 5.043 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/1.205, allocations: 31.17 kB / 1.386 GB, free: 5.008 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/1.205, allocations: 144.4 kB / 1.386 GB, free: 4.875 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/1.206, allocations: 53.02 kB / 1.387 GB, free: 4.828 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.412e-05/1.206, allocations: 42.77 kB / 1.387 GB, free: 4.797 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000202/1.206, allocations: 341.2 kB / 1.387 GB, free: 4.461 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/1.206, allocations: 71.19 kB / 1.387 GB, free: 4.426 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/1.206, allocations: 145 kB / 1.387 GB, free: 4.305 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/1.207, allocations: 214.8 kB / 1.387 GB, free: 4.148 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.207, allocations: 1.438 kB / 1.387 GB, free: 4.148 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005649/1.207, allocations: 235.9 kB / 1.388 GB, free: 4.023 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/1.207, allocations: 5.344 kB / 1.388 GB, free: 4.023 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.207, allocations: 2.406 kB / 1.388 GB, free: 4.023 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/1.207, allocations: 7.312 kB / 1.388 GB, free: 4.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/1.208, allocations: 44.94 kB / 1.388 GB, free: 4.004 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/1.208, allocations: 3.688 kB / 1.388 GB, free: 4.004 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/1.208, allocations: 34.36 kB / 1.388 GB, free: 3.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/1.208, allocations: 13.34 kB / 1.388 GB, free: 3.977 MB / 1.061 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.0001714/1.208, allocations: 151.2 kB / 1.388 GB, free: 3.836 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/1.208, allocations: 28.28 kB / 1.388 GB, free: 3.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/1.209, allocations: 179.2 kB / 1.388 GB, free: 3.688 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.209, allocations: 6.344 kB / 1.388 GB, free: 3.684 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.209, allocations: 5.594 kB / 1.388 GB, free: 3.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.209, allocations: 2.25 kB / 1.388 GB, free: 3.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/1.21, allocations: 0.8564 MB / 1.389 GB, free: 2.871 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.21, allocations: 2.312 kB / 1.389 GB, free: 2.871 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/1.21, allocations: 30.7 kB / 1.389 GB, free: 2.859 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/1.21, allocations: 6.125 kB / 1.389 GB, free: 2.855 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/1.21, allocations: 2.094 kB / 1.389 GB, free: 2.855 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/1.21, allocations: 2.281 kB / 1.389 GB, free: 2.855 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.21, allocations: 5.047 kB / 1.389 GB, free: 2.852 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/1.21, allocations: 341.3 kB / 1.389 GB, free: 2.582 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/1.211, allocations: 120 kB / 1.389 GB, free: 2.457 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/1.211, allocations: 3.375 kB / 1.389 GB, free: 2.457 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/1.211, allocations: 16.59 kB / 1.389 GB, free: 2.449 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/1.211, allocations: 12.52 kB / 1.389 GB, free: 2.441 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/1.211, allocations: 4.125 kB / 1.389 GB, free: 2.441 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002672/1.211, allocations: 232.6 kB / 1.39 GB, free: 2.289 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.211, allocations: 1.031 kB / 1.39 GB, free: 2.289 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006227/1.212, allocations: 103.7 kB / 1.39 GB, free: 2.262 MB / 1.061 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.001396/1.213, allocations: 0.9887 MB / 1.391 GB, free: 1.414 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004295/1.214, allocations: 151.6 kB / 1.391 GB, free: 1.344 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.214, allocations: 0 / 1.391 GB, free: 1.344 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/1.214, allocations: 55.97 kB / 1.391 GB, free: 1.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007602/1.214, allocations: 134.8 kB / 1.391 GB, free: 1.254 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/1.218, allocations: 2.777 MB / 1.394 GB, free: 15.11 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/1.218, allocations: 0.7508 MB / 1.394 GB, free: 14.39 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002159/1.219, allocations: 71.44 kB / 1.394 GB, free: 14.35 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/1.219, allocations: 74.75 kB / 1.395 GB, free: 14.29 MB / 1.076 GB Notification: Performance of SimCode: time 9.82e-07/1.219, allocations: 1.156 kB / 1.395 GB, free: 14.29 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/1.253, allocations: 8.677 MB / 1.403 GB, free: 9.93 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.566/9.819, allocations: 8.844 kB / 1.403 GB, free: 9.926 MB / 1.076 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 16.00653433566913]