Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00669/0.00669, allocations: 98.69 kB / 15.73 MB, free: 5.547 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.001322/0.001322, allocations: 189.1 kB / 16.67 MB, free: 5.492 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3181, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.9713/1.289, allocations: 169.4 MB / 1.373 GB, free: 15.51 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008594/1.298, allocations: 7.13 MB / 1.38 GB, free: 10.42 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005298/1.299, allocations: 11.38 kB / 1.38 GB, free: 10.41 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005933/1.299, allocations: 165.5 kB / 1.38 GB, free: 10.28 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003333/1.303, allocations: 1.268 MB / 1.382 GB, free: 9.328 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/1.305, allocations: 0.6292 MB / 1.382 GB, free: 8.871 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00127/1.306, allocations: 0.7669 MB / 1.383 GB, free: 8.43 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005084/1.306, allocations: 293.6 kB / 1.383 GB, free: 8.258 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/1.308, allocations: 0.5696 MB / 1.384 GB, free: 7.906 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009141/1.309, allocations: 434.4 kB / 1.384 GB, free: 7.656 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.737e-05/1.309, allocations: 26.22 kB / 1.384 GB, free: 7.656 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/1.311, allocations: 1.245 MB / 1.385 GB, free: 6.957 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/1.311, allocations: 114.6 kB / 1.386 GB, free: 6.879 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000197/1.312, allocations: 176.8 kB / 1.386 GB, free: 6.77 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/1.313, allocations: 0.9108 MB / 1.387 GB, free: 6.215 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.313, allocations: 0 / 1.387 GB, free: 6.215 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.643e-06/1.313, allocations: 1.125 kB / 1.387 GB, free: 6.215 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.313, allocations: 0 / 1.387 GB, free: 6.215 MB / 1.076 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.0009854/1.314, allocations: 0.6954 MB / 1.387 GB, free: 5.605 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/1.314, allocations: 13.12 kB / 1.387 GB, free: 5.602 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009966/1.315, allocations: 126.2 kB / 1.387 GB, free: 5.543 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/1.316, allocations: 348.8 kB / 1.388 GB, free: 5.223 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.877e-05/1.316, allocations: 51.52 kB / 1.388 GB, free: 5.176 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.836e-05/1.316, allocations: 26.34 kB / 1.388 GB, free: 5.168 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/1.317, allocations: 366.9 kB / 1.388 GB, free: 4.934 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/1.317, allocations: 4 kB / 1.388 GB, free: 4.93 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/1.317, allocations: 11.03 kB / 1.388 GB, free: 4.922 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/1.317, allocations: 6.438 kB / 1.388 GB, free: 4.922 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005513/1.317, allocations: 275.3 kB / 1.388 GB, free: 4.793 MB / 1.076 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.001862/1.319, allocations: 1.479 MB / 1.39 GB, free: 3.441 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/1.32, allocations: 202.2 kB / 1.39 GB, free: 3.328 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/1.32, allocations: 117.6 kB / 1.39 GB, free: 3.27 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00093/1.321, allocations: 0.4985 MB / 1.391 GB, free: 2.754 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/1.321, allocations: 36.91 kB / 1.391 GB, free: 2.711 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/1.321, allocations: 0 / 1.391 GB, free: 2.711 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0009643/1.322, allocations: 360.7 kB / 1.391 GB, free: 2.527 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/1.322, allocations: 52.75 kB / 1.391 GB, free: 2.465 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/1.322, allocations: 315.5 kB / 1.391 GB, free: 2.262 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/1.322, allocations: 30.92 kB / 1.391 GB, free: 2.227 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/1.322, allocations: 194.2 kB / 1.392 GB, free: 2.051 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/1.322, allocations: 46.05 kB / 1.392 GB, free: 2.012 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.388e-05/1.322, allocations: 42.92 kB / 1.392 GB, free: 1.98 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.323, allocations: 342.8 kB / 1.392 GB, free: 1.645 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/1.323, allocations: 88.11 kB / 1.392 GB, free: 1.602 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/1.323, allocations: 139.1 kB / 1.392 GB, free: 1.504 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004512/1.323, allocations: 245.4 kB / 1.393 GB, free: 1.344 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.324, allocations: 5 kB / 1.393 GB, free: 1.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006095/1.324, allocations: 291.1 kB / 1.393 GB, free: 1.18 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.324, allocations: 6.75 kB / 1.393 GB, free: 1.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/1.324, allocations: 1.188 kB / 1.393 GB, free: 1.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/1.324, allocations: 2.219 kB / 1.393 GB, free: 1.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/1.324, allocations: 39.39 kB / 1.393 GB, free: 1.172 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/1.324, allocations: 7.453 kB / 1.393 GB, free: 1.168 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/1.325, allocations: 35.56 kB / 1.393 GB, free: 1.145 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/1.325, allocations: 13.05 kB / 1.393 GB, free: 1.141 MB / 1.076 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 0.0001695/1.325, allocations: 155.7 kB / 1.393 GB, free: 0.9961 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/1.325, allocations: 25.97 kB / 1.393 GB, free: 0.9844 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007349/1.326, allocations: 319.5 kB / 1.393 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.326, allocations: 3.062 kB / 1.393 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/1.326, allocations: 0 / 1.393 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.326, allocations: 1.094 kB / 1.393 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/1.327, allocations: 0.8026 MB / 1.394 GB, free: 160 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.327, allocations: 1.219 kB / 1.394 GB, free: 160 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/1.327, allocations: 43.53 kB / 1.394 GB, free: 144 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/1.327, allocations: 5.188 kB / 1.394 GB, free: 144 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/1.327, allocations: 6.75 kB / 1.394 GB, free: 140 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.327, allocations: 2.781 kB / 1.394 GB, free: 140 kB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.327, allocations: 3.078 kB / 1.394 GB, free: 140 kB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006179/1.328, allocations: 409.5 kB / 1.395 GB, free: 15.82 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/1.328, allocations: 133.1 kB / 1.395 GB, free: 15.69 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/1.328, allocations: 10.69 kB / 1.395 GB, free: 15.68 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/1.329, allocations: 12.23 kB / 1.395 GB, free: 15.68 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/1.329, allocations: 18.8 kB / 1.395 GB, free: 15.67 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/1.329, allocations: 12.23 kB / 1.395 GB, free: 15.66 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002101/1.329, allocations: 226.7 kB / 1.395 GB, free: 15.52 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.329, allocations: 1.469 kB / 1.395 GB, free: 15.52 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006045/1.329, allocations: 127.8 kB / 1.395 GB, free: 15.48 MB / 1.092 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.0005675/1.33, allocations: 229.3 kB / 1.395 GB, free: 15.33 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005446/1.331, allocations: 227.6 kB / 1.396 GB, free: 15.23 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.331, allocations: 0 / 1.396 GB, free: 15.23 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/1.331, allocations: 114.3 kB / 1.396 GB, free: 15.18 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009297/1.332, allocations: 175.6 kB / 1.396 GB, free: 15.09 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/1.333, allocations: 0.5951 MB / 1.396 GB, free: 14.66 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/1.333, allocations: 0.7841 MB / 1.397 GB, free: 13.92 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002851/1.334, allocations: 78.34 kB / 1.397 GB, free: 13.89 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/1.334, allocations: 34.55 kB / 1.397 GB, free: 13.88 MB / 1.092 GB Notification: Performance of SimCode: time 2.2e-07/1.334, allocations: 0 / 1.397 GB, free: 13.88 MB / 1.092 GB Notification: Performance of Templates: time 0.01275/1.347, allocations: 7.415 MB / 1.405 GB, free: 10.14 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches