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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001122/0.001122, allocations: 108.8 kB / 16.41 MB, free: 6.465 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.001223/0.001223, allocations: 190.7 kB / 17.35 MB, free: 5.699 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.615/2.615, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.91 kB / 1.07 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.7043, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1661/0.8705, allocations: 169.4 MB / 1.392 GB, free: 3.43 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.007629/0.8781, allocations: 7.139 MB / 1.399 GB, free: 12.27 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003498/0.8785, allocations: 15.94 kB / 1.399 GB, free: 12.25 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000508/0.879, allocations: 178.7 kB / 1.399 GB, free: 12.08 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003312/0.8824, allocations: 1.303 MB / 1.4 GB, free: 10.77 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.8842, allocations: 0.6419 MB / 1.401 GB, free: 10.13 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0007601/0.885, allocations: 0.7641 MB / 1.402 GB, free: 9.367 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003995/0.8854, allocations: 294.8 kB / 1.402 GB, free: 9.078 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009955/0.8864, allocations: 0.5838 MB / 1.402 GB, free: 8.492 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006946/0.8871, allocations: 434.5 kB / 1.403 GB, free: 8.066 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/0.8871, allocations: 24 kB / 1.403 GB, free: 8.043 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.889, allocations: 1.247 MB / 1.404 GB, free: 6.793 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.8891, allocations: 123.6 kB / 1.404 GB, free: 6.672 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.8893, allocations: 175.1 kB / 1.404 GB, free: 6.5 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.8904, allocations: 0.9041 MB / 1.405 GB, free: 5.598 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.8905, allocations: 0 / 1.405 GB, free: 5.598 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.022e-06/0.8905, allocations: 0 / 1.405 GB, free: 5.598 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.8905, allocations: 4 kB / 1.405 GB, free: 5.594 MB / 1.123 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.000921/0.8914, allocations: 0.7081 MB / 1.406 GB, free: 4.836 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.8914, allocations: 8.031 kB / 1.406 GB, free: 4.828 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009607/0.8924, allocations: 135.6 kB / 1.406 GB, free: 4.695 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000497/0.8929, allocations: 349.3 kB / 1.406 GB, free: 4.309 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.982e-05/0.893, allocations: 46.27 kB / 1.407 GB, free: 4.258 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.8931, allocations: 28 kB / 1.407 GB, free: 4.23 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006021/0.8937, allocations: 366.1 kB / 1.407 GB, free: 3.855 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.8937, allocations: 0 / 1.407 GB, free: 3.855 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.8937, allocations: 15.98 kB / 1.407 GB, free: 3.84 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.8937, allocations: 8 kB / 1.407 GB, free: 3.832 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.8943, allocations: 270 kB / 1.407 GB, free: 3.562 MB / 1.123 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.001715/0.896, allocations: 1.496 MB / 1.409 GB, free: 1.941 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.8964, allocations: 200.7 kB / 1.409 GB, free: 1.738 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.8966, allocations: 116.7 kB / 1.409 GB, free: 1.621 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009269/0.8975, allocations: 0.5052 MB / 1.409 GB, free: 1.023 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.8976, allocations: 34.56 kB / 1.409 GB, free: 0.9805 MB / 1.123 GB Notification: Performance of pre-optimization done (n=15): time 5.49e-06/0.8976, allocations: 0 / 1.409 GB, free: 0.9805 MB / 1.123 GB Notification: Performance of matching and sorting (n=15): time 0.0009089/0.8985, allocations: 365.2 kB / 1.41 GB, free: 0.6172 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.8985, allocations: 51.41 kB / 1.41 GB, free: 0.5547 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.8988, allocations: 312.5 kB / 1.41 GB, free: 244 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.8989, allocations: 33.7 kB / 1.41 GB, free: 204 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.899, allocations: 184.2 kB / 1.41 GB, free: 16 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.562e-05/0.899, allocations: 59.48 kB / 1.41 GB, free: 15.96 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.848e-05/0.8991, allocations: 45.7 kB / 1.41 GB, free: 15.91 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.8992, allocations: 342.8 kB / 1.411 GB, free: 15.56 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.8994, allocations: 83.94 kB / 1.411 GB, free: 15.48 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.8997, allocations: 145.9 kB / 1.411 GB, free: 15.32 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.9001, allocations: 233.8 kB / 1.411 GB, free: 15.07 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.9001, allocations: 7.938 kB / 1.411 GB, free: 15.06 MB / 1.139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005534/0.9006, allocations: 281.3 kB / 1.412 GB, free: 14.78 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.9007, allocations: 4 kB / 1.412 GB, free: 14.77 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.9007, allocations: 7.984 kB / 1.412 GB, free: 14.77 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.9007, allocations: 4 kB / 1.412 GB, free: 14.76 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.9009, allocations: 44.09 kB / 1.412 GB, free: 14.72 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.9009, allocations: 8 kB / 1.412 GB, free: 14.71 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.9012, allocations: 31.83 kB / 1.412 GB, free: 14.68 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.9012, allocations: 8 kB / 1.412 GB, free: 14.67 MB / 1.139 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.0001425/0.9013, allocations: 157.7 kB / 1.412 GB, free: 14.51 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.9014, allocations: 31.8 kB / 1.412 GB, free: 14.48 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006832/0.9021, allocations: 322.8 kB / 1.412 GB, free: 14.15 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.9022, allocations: 0 / 1.412 GB, free: 14.15 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.9022, allocations: 4 kB / 1.412 GB, free: 14.14 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.9023, allocations: 132.8 kB / 1.412 GB, free: 14 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.9023, allocations: 8 kB / 1.412 GB, free: 13.99 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.9026, allocations: 7.984 kB / 1.412 GB, free: 13.98 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.9026, allocations: 23.91 kB / 1.412 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005434/0.9032, allocations: 316.8 kB / 1.413 GB, free: 13.64 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005533/0.9037, allocations: 430.4 kB / 1.413 GB, free: 13.2 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001915/0.9039, allocations: 98.59 kB / 1.413 GB, free: 13.11 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001907/0.9041, allocations: 231 kB / 1.413 GB, free: 12.89 MB / 1.139 GB Notification: Performance of Backend: time 3.91e-07/0.9042, allocations: 4 kB / 1.413 GB, free: 12.88 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.9055, allocations: 472 kB / 1.414 GB, free: 12.42 MB / 1.139 GB Notification: Performance of SimCode: time 0.001277/0.9068, allocations: 1.067 MB / 1.415 GB, free: 11.31 MB / 1.139 GB Notification: Performance of Templates: time 0.01531/0.9221, allocations: 9.682 MB / 1.424 GB, free: 1.711 MB / 1.139 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches