Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 111.3 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.129/3.129, allocations: 497.2 MB / 0.7811 GB, free: 33.72 MB / 0.6231 GB " [Timeout remaining time 177] 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.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 68.73 kB / 1.134 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3518, allocations: 173.9 MB / 1.304 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2736/0.6254, allocations: 222.8 MB / 1.522 GB, free: 1.875 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02195/0.6474, allocations: 13.82 MB / 1.535 GB, free: 4.016 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002736/0.6501, allocations: 63.62 kB / 1.535 GB, free: 3.953 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.6527, allocations: 0.8425 MB / 1.536 GB, free: 3.105 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.007189/0.6599, allocations: 2.24 MB / 1.538 GB, free: 0.8555 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004117/0.6641, allocations: 1.181 MB / 1.539 GB, free: 15.68 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005294/0.6693, allocations: 2.882 MB / 1.542 GB, free: 12.8 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002092/0.6714, allocations: 1.003 MB / 1.543 GB, free: 11.77 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007488/0.6789, allocations: 2.689 MB / 1.546 GB, free: 9.074 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002972/0.6819, allocations: 1.069 MB / 1.547 GB, free: 8.02 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004131/0.6823, allocations: 100 kB / 1.547 GB, free: 7.922 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003653/0.686, allocations: 1.66 MB / 1.548 GB, free: 6.258 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007013/0.6867, allocations: 446.4 kB / 1.549 GB, free: 5.82 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.6879, allocations: 0.684 MB / 1.55 GB, free: 5.133 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004247/0.6921, allocations: 2.078 MB / 1.552 GB, free: 3.047 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.6921, allocations: 0 / 1.552 GB, free: 3.047 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6921, allocations: 0 / 1.552 GB, free: 3.047 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.742e-05/0.6921, allocations: 3.938 kB / 1.552 GB, free: 3.043 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.003105/0.6953, allocations: 1.68 MB / 1.553 GB, free: 1.305 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.6953, allocations: 12.61 kB / 1.553 GB, free: 1.293 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001847/0.6955, allocations: 143.6 kB / 1.553 GB, free: 1.145 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002409/0.6979, allocations: 434.7 kB / 1.554 GB, free: 0.7188 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.6999, allocations: 0.953 MB / 1.555 GB, free: 15.72 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.911e-05/0.7, allocations: 77.98 kB / 1.555 GB, free: 15.65 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.7001, allocations: 84 kB / 1.555 GB, free: 15.57 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.7026, allocations: 1.227 MB / 1.556 GB, free: 14.22 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.7026, allocations: 7.938 kB / 1.556 GB, free: 14.21 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.924e-05/0.7027, allocations: 40 kB / 1.556 GB, free: 14.17 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.984e-05/0.7027, allocations: 37.3 kB / 1.556 GB, free: 14.14 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.705, allocations: 0.8838 MB / 1.557 GB, free: 13.25 MB / 1.264 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.01044/0.7154, allocations: 6.247 MB / 1.563 GB, free: 6.664 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/0.716, allocations: 251.7 kB / 1.563 GB, free: 6.363 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.7162, allocations: 137.1 kB / 1.564 GB, free: 6.211 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/0.7164, allocations: 101.1 kB / 1.564 GB, free: 6.094 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.7165, allocations: 46.5 kB / 1.564 GB, free: 6.039 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001041/0.7175, allocations: 131.3 kB / 1.564 GB, free: 5.91 MB / 1.264 GB Notification: Performance of pre-optimization done (n=20): time 2.695e-06/0.7175, allocations: 0 / 1.564 GB, free: 5.91 MB / 1.264 GB Notification: Performance of matching and sorting (n=20): time 0.0014/0.7189, allocations: 484.7 kB / 1.564 GB, free: 5.43 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/0.7191, allocations: 183.9 kB / 1.564 GB, free: 5.207 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.7214, allocations: 1.308 MB / 1.566 GB, free: 3.883 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.7214, allocations: 33.7 kB / 1.566 GB, free: 3.844 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.000619/0.722, allocations: 0.6372 MB / 1.566 GB, free: 3.203 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 8.635e-05/0.7221, allocations: 71.44 kB / 1.566 GB, free: 3.133 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/0.7224, allocations: 146.1 kB / 1.567 GB, free: 2.984 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.7225, allocations: 326 kB / 1.567 GB, free: 2.66 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006623/0.7232, allocations: 236.9 kB / 1.567 GB, free: 2.426 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009455/0.7241, allocations: 0.5635 MB / 1.568 GB, free: 1.715 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.7254, allocations: 0.6926 MB / 1.568 GB, free: 0.8828 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.7254, allocations: 4 kB / 1.568 GB, free: 0.8789 MB / 1.264 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002204/0.7276, allocations: 0.8637 MB / 1.569 GB, free: 8 kB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.7277, allocations: 8 kB / 1.569 GB, free: 0 / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.242e-05/0.7277, allocations: 12.05 kB / 1.569 GB, free: 15.98 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/0.7277, allocations: 12 kB / 1.569 GB, free: 15.97 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007493/0.7285, allocations: 172.1 kB / 1.569 GB, free: 15.81 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.889e-05/0.7285, allocations: 19.94 kB / 1.569 GB, free: 15.79 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.73, allocations: 131.8 kB / 1.57 GB, free: 15.66 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.9e-05/0.7301, allocations: 39.98 kB / 1.57 GB, free: 15.62 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (69): * Single equations (assignments): 69 * 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.0005644/0.7306, allocations: 301.4 kB / 1.57 GB, free: 15.32 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003058/0.7309, allocations: 127.2 kB / 1.57 GB, free: 15.19 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005776/0.7315, allocations: 284.8 kB / 1.57 GB, free: 14.91 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.7315, allocations: 4 kB / 1.57 GB, free: 14.9 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.7315, allocations: 240 / 1.57 GB, free: 14.9 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.7315, allocations: 7.938 kB / 1.57 GB, free: 14.89 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/0.7342, allocations: 1.674 MB / 1.572 GB, free: 13.12 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/0.7342, allocations: 7.984 kB / 1.572 GB, free: 13.11 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.7345, allocations: 40.28 kB / 1.572 GB, free: 13.07 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.7345, allocations: 8 kB / 1.572 GB, free: 13.06 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.7345, allocations: 8 kB / 1.572 GB, free: 13.05 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.7345, allocations: 4 kB / 1.572 GB, free: 13.05 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.7345, allocations: 4 kB / 1.572 GB, free: 13.05 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/0.7352, allocations: 0.4886 MB / 1.572 GB, free: 12.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000469/0.7356, allocations: 252.1 kB / 1.573 GB, free: 12.24 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.7358, allocations: 12 kB / 1.573 GB, free: 12.23 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007269/0.7365, allocations: 47.94 kB / 1.573 GB, free: 12.18 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.7366, allocations: 19.92 kB / 1.573 GB, free: 12.16 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.7366, allocations: 12 kB / 1.573 GB, free: 12.15 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001698/0.7383, allocations: 0.9081 MB / 1.574 GB, free: 11.24 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.7383, allocations: 0 / 1.574 GB, free: 11.24 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001168/0.7394, allocations: 287.6 kB / 1.574 GB, free: 10.96 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (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 Backend phase and start with SimCode phase: time 0.001675/0.7411, allocations: 1.155 MB / 1.575 GB, free: 9.754 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.7423, allocations: 445.7 kB / 1.575 GB, free: 9.32 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.7423, allocations: 4.188 kB / 1.575 GB, free: 9.316 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.7425, allocations: 103.8 kB / 1.576 GB, free: 9.215 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/0.7453, allocations: 0.5712 MB / 1.576 GB, free: 8.652 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/0.7595, allocations: 8.147 MB / 1.584 GB, free: 28 kB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009305/0.7605, allocations: 1.114 MB / 1.585 GB, free: 14.88 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001002/0.7615, allocations: 241.6 kB / 1.585 GB, free: 14.64 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/0.762, allocations: 411.3 kB / 1.586 GB, free: 14.24 MB / 1.295 GB Notification: Performance of SimCode: time 1.072e-06/0.762, allocations: 0 / 1.586 GB, free: 14.24 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06977/0.8318, allocations: 27.71 MB / 1.613 GB, free: 2.992 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/11.25, allocations: 0 / 1.613 GB, free: 2.992 MB / 1.311 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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: 18.55527041759342]