Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.EntropyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.91 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6165/0.6178, allocations: 140.4 MB / 0.9497 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1743/0.7921, allocations: 169.4 MB / 1.115 GB, free: 7.797 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008326/0.8005, allocations: 7.146 MB / 1.122 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004563/0.801, allocations: 15.88 kB / 1.122 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000543/0.8016, allocations: 166.7 kB / 1.122 GB, free: 464 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003009/0.8046, allocations: 1.264 MB / 1.124 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.8061, allocations: 0.6269 MB / 1.124 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008138/0.8069, allocations: 0.764 MB / 1.125 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000444/0.8074, allocations: 286.7 kB / 1.125 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.8085, allocations: 0.5643 MB / 1.126 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007594/0.8092, allocations: 426.5 kB / 1.126 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.826e-05/0.8093, allocations: 28 kB / 1.126 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.8112, allocations: 1.239 MB / 1.127 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.8113, allocations: 119.7 kB / 1.128 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.8115, allocations: 171.2 kB / 1.128 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.8128, allocations: 0.9039 MB / 1.129 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8128, allocations: 0 / 1.129 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8128, allocations: 3.938 kB / 1.129 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.8128, allocations: 0 / 1.129 GB, free: 10.06 MB / 0.8887 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.0009813/0.8138, allocations: 0.6896 MB / 1.129 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.8139, allocations: 8.031 kB / 1.129 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.597e-05/0.8139, allocations: 66.53 kB / 1.129 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009718/0.8149, allocations: 123.4 kB / 1.129 GB, free: 9.121 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.8153, allocations: 333.1 kB / 1.13 GB, free: 8.754 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-05/0.8154, allocations: 50.27 kB / 1.13 GB, free: 8.699 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.8155, allocations: 24 kB / 1.13 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.816, allocations: 366.1 kB / 1.13 GB, free: 8.297 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.8161, allocations: 3.984 kB / 1.13 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.8161, allocations: 16 kB / 1.13 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.8161, allocations: 8 kB / 1.13 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.8166, allocations: 270 kB / 1.13 GB, free: 8.004 MB / 0.8887 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.00167/0.8183, allocations: 1.5 MB / 1.132 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.8187, allocations: 194.5 kB / 1.132 GB, free: 6.18 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.8189, allocations: 112.8 kB / 1.132 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009228/0.8198, allocations: 0.5053 MB / 1.133 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.8199, allocations: 34.56 kB / 1.133 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.8199, allocations: 0 / 1.133 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.0008792/0.8208, allocations: 365 kB / 1.133 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.8208, allocations: 51.41 kB / 1.133 GB, free: 5 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.8211, allocations: 312.5 kB / 1.133 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.8211, allocations: 33.7 kB / 1.133 GB, free: 4.652 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.8212, allocations: 191.9 kB / 1.134 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.8213, allocations: 47.36 kB / 1.134 GB, free: 4.414 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.787e-05/0.8214, allocations: 45.61 kB / 1.134 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.8215, allocations: 350.7 kB / 1.134 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.8217, allocations: 79.94 kB / 1.134 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.8219, allocations: 145.9 kB / 1.134 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.8223, allocations: 243.6 kB / 1.135 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.8223, allocations: 4 kB / 1.135 GB, free: 3.508 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005368/0.8228, allocations: 281.1 kB / 1.135 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.8229, allocations: 4 kB / 1.135 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8229, allocations: 4 kB / 1.135 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.8229, allocations: 0 / 1.135 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.8231, allocations: 47.91 kB / 1.135 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.8231, allocations: 4 kB / 1.135 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.8233, allocations: 39.86 kB / 1.135 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.8233, allocations: 8 kB / 1.135 GB, free: 3.121 MB / 0.8887 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.0001319/0.8235, allocations: 149.7 kB / 1.135 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.8236, allocations: 39.61 kB / 1.135 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00064/0.8242, allocations: 306.3 kB / 1.135 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.8243, allocations: 8 kB / 1.135 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.8243, allocations: 0 / 1.135 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8243, allocations: 0 / 1.135 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.8255, allocations: 0.812 MB / 1.136 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.8255, allocations: 0 / 1.136 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.8257, allocations: 35.92 kB / 1.136 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.8257, allocations: 11.88 kB / 1.136 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.8257, allocations: 11.98 kB / 1.136 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.8257, allocations: 0 / 1.136 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.8257, allocations: 4 kB / 1.136 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/0.8263, allocations: 405.1 kB / 1.137 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.8264, allocations: 124.8 kB / 1.137 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.8264, allocations: 15.92 kB / 1.137 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.8267, allocations: 11.98 kB / 1.137 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.8267, allocations: 19.92 kB / 1.137 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.8268, allocations: 12 kB / 1.137 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001903/0.827, allocations: 231 kB / 1.137 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.3e-07/0.827, allocations: 0 / 1.137 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004548/0.8274, allocations: 127.8 kB / 1.137 GB, free: 0.6758 MB / 0.8887 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.001179/0.8286, allocations: 1.055 MB / 1.138 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004869/0.8291, allocations: 227.7 kB / 1.138 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8291, allocations: 0 / 1.138 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.8294, allocations: 107.9 kB / 1.138 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008079/0.8302, allocations: 168.9 kB / 1.139 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.8337, allocations: 3.056 MB / 1.142 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.8341, allocations: 0.7872 MB / 1.142 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002871/0.8343, allocations: 86.86 kB / 1.142 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.8345, allocations: 99.41 kB / 1.143 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.8345, allocations: 0 / 1.143 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08321/0.9177, allocations: 10.44 MB / 1.153 GB, free: 0.6211 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.55/9.468, allocations: 7.984 kB / 1.153 GB, free: 0.6133 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches