Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.005274/0.005274, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.00139/0.00139, allocations: 197.8 kB / 16.68 MB, free: 5.969 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.61/2.61, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 71.89 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.268, allocations: 162.3 MB / 1.242 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.648/0.9161, allocations: 171.1 MB / 1.409 GB, free: 5.117 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005768/0.9219, allocations: 4.308 MB / 1.413 GB, free: 1.625 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004034/0.9223, allocations: 19.28 kB / 1.413 GB, free: 1.621 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008231/0.9231, allocations: 353.8 kB / 1.413 GB, free: 1.336 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.9255, allocations: 1.22 MB / 1.415 GB, free: 396 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.9271, allocations: 0.792 MB / 1.415 GB, free: 15.79 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001729/0.9288, allocations: 1.694 MB / 1.417 GB, free: 14.82 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006546/0.9295, allocations: 0.5585 MB / 1.418 GB, free: 14.47 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.9306, allocations: 0.7392 MB / 1.418 GB, free: 14.04 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.9316, allocations: 0.5432 MB / 1.419 GB, free: 13.73 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 9.983e-05/0.9317, allocations: 64.91 kB / 1.419 GB, free: 13.73 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.933, allocations: 0.7959 MB / 1.42 GB, free: 13.32 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.9333, allocations: 270.7 kB / 1.42 GB, free: 13.13 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003917/0.9337, allocations: 409.4 kB / 1.42 GB, free: 12.88 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.9352, allocations: 1.279 MB / 1.422 GB, free: 12.05 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.9352, allocations: 4 kB / 1.422 GB, free: 12.04 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9352, allocations: 1.281 kB / 1.422 GB, free: 12.04 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.9352, allocations: 0 / 1.422 GB, free: 12.04 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001599/0.9368, allocations: 1.052 MB / 1.423 GB, free: 11.2 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.9368, allocations: 9.688 kB / 1.423 GB, free: 11.2 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.937, allocations: 103.4 kB / 1.423 GB, free: 11.11 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008976/0.9379, allocations: 160.9 kB / 1.423 GB, free: 11.04 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007402/0.9386, allocations: 0.5611 MB / 1.423 GB, free: 10.57 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.9387, allocations: 38.31 kB / 1.424 GB, free: 10.56 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.28e-05/0.9387, allocations: 49.38 kB / 1.424 GB, free: 10.54 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009983/0.9397, allocations: 0.6434 MB / 1.424 GB, free: 10.16 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.9397, allocations: 0 / 1.424 GB, free: 10.16 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.91e-05/0.9398, allocations: 23.25 kB / 1.424 GB, free: 10.14 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.13e-05/0.9398, allocations: 24.95 kB / 1.424 GB, free: 10.14 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008549/0.9407, allocations: 0.5182 MB / 1.425 GB, free: 9.883 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.002895/0.9436, allocations: 2.306 MB / 1.427 GB, free: 7.977 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.9441, allocations: 254.6 kB / 1.427 GB, free: 7.844 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.9443, allocations: 137.8 kB / 1.427 GB, free: 7.77 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.9443, allocations: 6.844 kB / 1.427 GB, free: 7.766 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.9444, allocations: 38.97 kB / 1.427 GB, free: 7.723 MB / 1.123 GB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.9444, allocations: 0 / 1.427 GB, free: 7.723 MB / 1.123 GB Notification: Performance of matching and sorting (n=20): time 0.00146/0.9458, allocations: 0.669 MB / 1.428 GB, free: 7.258 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.9459, allocations: 83.31 kB / 1.428 GB, free: 7.16 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/0.9465, allocations: 0.5585 MB / 1.429 GB, free: 6.828 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.9465, allocations: 32.52 kB / 1.429 GB, free: 6.793 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.9467, allocations: 335.8 kB / 1.429 GB, free: 6.492 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.876e-05/0.9468, allocations: 77.95 kB / 1.429 GB, free: 6.426 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.9469, allocations: 73.11 kB / 1.429 GB, free: 6.375 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.9471, allocations: 363.5 kB / 1.43 GB, free: 6.023 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.9473, allocations: 126.8 kB / 1.43 GB, free: 5.965 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.9476, allocations: 218.1 kB / 1.43 GB, free: 5.797 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.9481, allocations: 330.4 kB / 1.43 GB, free: 5.578 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9482, allocations: 1.688 kB / 1.43 GB, free: 5.578 MB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008341/0.949, allocations: 0.4938 MB / 1.431 GB, free: 5.305 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.949, allocations: 5.5 kB / 1.431 GB, free: 5.305 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.949, allocations: 2.875 kB / 1.431 GB, free: 5.305 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002844/0.9493, allocations: 103.3 kB / 1.431 GB, free: 5.242 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.9496, allocations: 66.78 kB / 1.431 GB, free: 5.23 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1804/1.13, allocations: 3.343 MB / 1.434 GB, free: 1.684 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006992/1.131, allocations: 47.62 kB / 1.434 GB, free: 1.637 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/1.131, allocations: 16 kB / 1.434 GB, free: 1.621 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003737/1.131, allocations: 218.4 kB / 1.434 GB, free: 1.398 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/1.131, allocations: 59.66 kB / 1.434 GB, free: 1.34 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.593e-05/1.131, allocations: 52.52 kB / 1.434 GB, free: 1.289 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/1.131, allocations: 4 kB / 1.434 GB, free: 1.285 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.131, allocations: 3.938 kB / 1.434 GB, free: 1.281 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007493/1.132, allocations: 0.5332 MB / 1.435 GB, free: 0.6797 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/1.133, allocations: 0.9227 MB / 1.436 GB, free: 15.69 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.133, allocations: 3.984 kB / 1.436 GB, free: 15.69 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/1.134, allocations: 35.98 kB / 1.436 GB, free: 15.65 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002066/1.134, allocations: 72.8 kB / 1.436 GB, free: 15.58 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/1.134, allocations: 8 kB / 1.436 GB, free: 15.57 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/1.136, allocations: 1.825 MB / 1.438 GB, free: 13.6 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.136, allocations: 0 / 1.438 GB, free: 13.6 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006144/1.136, allocations: 440.5 kB / 1.438 GB, free: 13.15 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/1.136, allocations: 172.7 kB / 1.438 GB, free: 12.96 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.498e-05/1.136, allocations: 7.938 kB / 1.438 GB, free: 12.95 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/1.137, allocations: 19.97 kB / 1.438 GB, free: 12.93 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/1.137, allocations: 19.92 kB / 1.438 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/1.137, allocations: 15.98 kB / 1.438 GB, free: 12.9 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004314/1.137, allocations: 402.8 kB / 1.439 GB, free: 12.51 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.71e-07/1.137, allocations: 0 / 1.439 GB, free: 12.51 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000587/1.138, allocations: 203.7 kB / 1.439 GB, free: 12.31 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001135/1.139, allocations: 1.04 MB / 1.44 GB, free: 11.25 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0008759/1.14, allocations: 0.529 MB / 1.441 GB, free: 10.69 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.14, allocations: 8.125 kB / 1.441 GB, free: 10.68 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003609/1.14, allocations: 250.5 kB / 1.441 GB, free: 10.43 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/1.142, allocations: 374.6 kB / 1.441 GB, free: 10.07 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005738/1.148, allocations: 4.47 MB / 1.446 GB, free: 5.438 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/1.148, allocations: 0.9093 MB / 1.446 GB, free: 4.5 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003448/1.149, allocations: 112.8 kB / 1.447 GB, free: 4.387 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/1.149, allocations: 191.4 kB / 1.447 GB, free: 4.203 MB / 1.139 GB Notification: Performance of SimCode: time 4.21e-07/1.149, allocations: 0 / 1.447 GB, free: 4.203 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.958/3.107, allocations: 17.79 MB / 1.464 GB, free: 2.777 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/17.31, allocations: 8.344 kB / 1.464 GB, free: 2.77 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches