Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.0009012/0.0009012, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001146/0.001146, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.918/0.918, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.684/1.684, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.EntropyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/2.012e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6486/0.6486, allocations: 149.4 MB / 1.096 GB, free: 38.59 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005171/0.6538, allocations: 6.523 MB / 1.103 GB, free: 36.98 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006962/0.6545, allocations: 19.62 kB / 1.103 GB, free: 36.96 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.6551, allocations: 184.3 kB / 1.103 GB, free: 36.86 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003796/0.6589, allocations: 1.328 MB / 1.104 GB, free: 36.44 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.6612, allocations: 0.6983 MB / 1.105 GB, free: 36.18 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001357/0.6626, allocations: 0.7607 MB / 1.106 GB, free: 35.86 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006218/0.6632, allocations: 230.9 kB / 1.106 GB, free: 35.77 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.6649, allocations: 0.6853 MB / 1.107 GB, free: 35.52 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.666, allocations: 423.8 kB / 1.107 GB, free: 35.41 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.294e-05/0.666, allocations: 26.81 kB / 1.107 GB, free: 35.41 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003025/0.6691, allocations: 1.063 MB / 1.108 GB, free: 35.15 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.6692, allocations: 130.4 kB / 1.108 GB, free: 35.1 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.6695, allocations: 120.8 kB / 1.108 GB, free: 35.06 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002426/0.6719, allocations: 0.9292 MB / 1.109 GB, free: 34.82 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6719, allocations: 0 / 1.109 GB, free: 34.82 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6719, allocations: 0 / 1.109 GB, free: 34.82 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.6719, allocations: 1.406 kB / 1.109 GB, free: 34.82 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001152/0.673, allocations: 0.6242 MB / 1.11 GB, free: 34.35 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.6731, allocations: 9.641 kB / 1.11 GB, free: 34.35 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.611e-05/0.6732, allocations: 62.28 kB / 1.11 GB, free: 34.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008366/0.674, allocations: 140.1 kB / 1.11 GB, free: 34.26 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005434/0.6746, allocations: 273.6 kB / 1.11 GB, free: 34.06 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.904e-05/0.6746, allocations: 73.98 kB / 1.11 GB, free: 33.99 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.6747, allocations: 26.77 kB / 1.11 GB, free: 33.98 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.6752, allocations: 396.8 kB / 1.111 GB, free: 33.78 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.6753, allocations: 1.062 kB / 1.111 GB, free: 33.78 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.6753, allocations: 10.09 kB / 1.111 GB, free: 33.77 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.6753, allocations: 6.656 kB / 1.111 GB, free: 33.77 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.6756, allocations: 274.2 kB / 1.111 GB, free: 33.68 MB / 0.9948 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.001181/0.6768, allocations: 1.142 MB / 1.112 GB, free: 32.89 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.6771, allocations: 185.7 kB / 1.112 GB, free: 32.82 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.6773, allocations: 114.5 kB / 1.112 GB, free: 32.78 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004617/0.6777, allocations: 139.5 kB / 1.113 GB, free: 32.76 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.6777, allocations: 37.47 kB / 1.113 GB, free: 32.71 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.6777, allocations: 0 / 1.113 GB, free: 32.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0006348/0.6784, allocations: 353.8 kB / 1.113 GB, free: 32.59 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.6784, allocations: 54.45 kB / 1.113 GB, free: 32.53 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.6786, allocations: 320.4 kB / 1.113 GB, free: 32.36 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.6787, allocations: 26.83 kB / 1.113 GB, free: 32.33 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/0.6788, allocations: 191.7 kB / 1.114 GB, free: 32.17 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.6788, allocations: 51.33 kB / 1.114 GB, free: 32.13 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.556e-05/0.6788, allocations: 46.41 kB / 1.114 GB, free: 32.1 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.429e-05/0.6789, allocations: 339.3 kB / 1.114 GB, free: 31.78 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.679, allocations: 83.97 kB / 1.114 GB, free: 31.76 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.6792, allocations: 234 kB / 1.114 GB, free: 31.57 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.6795, allocations: 238.7 kB / 1.115 GB, free: 31.46 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.6795, allocations: 1.125 kB / 1.115 GB, free: 31.46 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003866/0.6799, allocations: 290.8 kB / 1.115 GB, free: 31.34 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.6799, allocations: 7.75 kB / 1.115 GB, free: 31.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.6799, allocations: 2.344 kB / 1.115 GB, free: 31.34 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.6799, allocations: 2.531 kB / 1.115 GB, free: 31.34 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.68, allocations: 36.89 kB / 1.115 GB, free: 31.34 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.68, allocations: 3.469 kB / 1.115 GB, free: 31.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.6802, allocations: 33.14 kB / 1.115 GB, free: 31.32 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.6802, allocations: 14.86 kB / 1.115 GB, free: 31.31 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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 9.935e-05/0.6803, allocations: 153.2 kB / 1.115 GB, free: 31.18 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.6804, allocations: 35.47 kB / 1.115 GB, free: 31.16 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.6808, allocations: 312.4 kB / 1.115 GB, free: 31.03 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.6808, allocations: 1.062 kB / 1.115 GB, free: 31.03 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6808, allocations: 1.656 kB / 1.115 GB, free: 31.03 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6809, allocations: 0.7031 kB / 1.115 GB, free: 31.03 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008597/0.6817, allocations: 0.754 MB / 1.116 GB, free: 30.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6817, allocations: 2.438 kB / 1.116 GB, free: 30.55 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.319e-05/0.6818, allocations: 37.16 kB / 1.116 GB, free: 30.55 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.6818, allocations: 2.219 kB / 1.116 GB, free: 30.55 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.6818, allocations: 13.22 kB / 1.116 GB, free: 30.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.6818, allocations: 7.172 kB / 1.116 GB, free: 30.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6818, allocations: 10.22 kB / 1.116 GB, free: 30.53 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.6822, allocations: 395.5 kB / 1.117 GB, free: 30.27 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.465e-05/0.6823, allocations: 58.12 kB / 1.117 GB, free: 30.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.6823, allocations: 3.469 kB / 1.117 GB, free: 30.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.6824, allocations: 15.94 kB / 1.117 GB, free: 30.24 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.6825, allocations: 24.81 kB / 1.117 GB, free: 30.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.6825, allocations: 14.89 kB / 1.117 GB, free: 30.23 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001566/0.6827, allocations: 227 kB / 1.117 GB, free: 30.11 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.6827, allocations: 0 / 1.117 GB, free: 30.11 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005055/0.6832, allocations: 122.8 kB / 1.117 GB, free: 30.08 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.0008512/0.684, allocations: 1.049 MB / 1.118 GB, free: 29.27 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003584/0.6844, allocations: 224 kB / 1.118 GB, free: 29.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6844, allocations: 0 / 1.118 GB, free: 29.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.6845, allocations: 112.6 kB / 1.118 GB, free: 29.17 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005714/0.6851, allocations: 166.7 kB / 1.118 GB, free: 29.12 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.6878, allocations: 3.044 MB / 1.121 GB, free: 27.14 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.688, allocations: 184.5 kB / 1.122 GB, free: 27.05 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002538/0.6882, allocations: 86.48 kB / 1.122 GB, free: 27.03 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.6883, allocations: 101.7 kB / 1.122 GB, free: 26.96 MB / 0.9948 GB Notification: Performance of SimCode: time 1.082e-06/0.6883, allocations: 0 / 1.122 GB, free: 26.96 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.7196, allocations: 11.84 MB / 1.133 GB, free: 25.13 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.254/7.974, allocations: 7.594 kB / 1.133 GB, free: 25.13 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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: 12.11548084858805]