Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T|vol1.X_w|QSen.u|QLat.u|vol1.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T|vol1.X_w|QSen.u|QLat.u|vol1.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 100.1 kB / 15.88 MB, free: 12 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.001298/0.001297, allocations: 196 kB / 16.79 MB, free: 6.809 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.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.787/2.787, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 60.58 kB / 0.899 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.335, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2221/0.5571, allocations: 196.6 MB / 1.245 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7458/1.303, allocations: 10.42 MB / 1.255 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002414/1.305, allocations: 59.34 kB / 1.255 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001807/1.307, allocations: 477 kB / 1.255 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005486/1.313, allocations: 1.843 MB / 1.257 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004083/1.317, allocations: 1.234 MB / 1.258 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005765/1.323, allocations: 3.677 MB / 1.262 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002075/1.325, allocations: 1.024 MB / 1.263 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005416/1.33, allocations: 1.503 MB / 1.264 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002861/1.333, allocations: 0.9831 MB / 1.265 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003271/1.333, allocations: 68.47 kB / 1.266 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006645/1.34, allocations: 2.388 MB / 1.268 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009557/1.341, allocations: 373.7 kB / 1.268 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001663/1.343, allocations: 0.6646 MB / 1.269 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004173/1.347, allocations: 1.811 MB / 1.271 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/1.347, allocations: 1.156 kB / 1.271 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/1.347, allocations: 1.203 kB / 1.271 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.474e-05/1.347, allocations: 0 / 1.271 GB, free: 1.699 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.004831/1.352, allocations: 1.811 MB / 1.272 GB, free: 16.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/1.352, allocations: 14.08 kB / 1.272 GB, free: 16.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/1.355, allocations: 375.2 kB / 1.273 GB, free: 16.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/1.357, allocations: 0.9108 MB / 1.274 GB, free: 16.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/1.357, allocations: 79.16 kB / 1.274 GB, free: 16.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/1.357, allocations: 104 kB / 1.274 GB, free: 16.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/1.36, allocations: 1.108 MB / 1.275 GB, free: 16.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/1.36, allocations: 9.641 kB / 1.275 GB, free: 16.1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/1.36, allocations: 42.5 kB / 1.275 GB, free: 16.1 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.967e-05/1.36, allocations: 34.86 kB / 1.275 GB, free: 16.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/1.362, allocations: 0.8124 MB / 1.276 GB, free: 16.08 MB / 1.014 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.007172/1.369, allocations: 5.073 MB / 1.281 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/1.37, allocations: 0.7012 MB / 1.281 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005792/1.371, allocations: 350.2 kB / 1.282 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006655/1.372, allocations: 313.1 kB / 1.282 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/1.372, allocations: 46.38 kB / 1.282 GB, free: 12.81 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 3.306e-06/1.372, allocations: 1.203 kB / 1.282 GB, free: 12.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.002229/1.374, allocations: 0.9448 MB / 1.283 GB, free: 12.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/1.374, allocations: 59 kB / 1.283 GB, free: 12.64 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/1.375, allocations: 0.8795 MB / 1.284 GB, free: 12.49 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.904e-05/1.375, allocations: 41.61 kB / 1.284 GB, free: 12.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/1.376, allocations: 0.5572 MB / 1.285 GB, free: 12.24 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/1.376, allocations: 250.2 kB / 1.285 GB, free: 12.08 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/1.376, allocations: 139.2 kB / 1.285 GB, free: 12.06 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.376, allocations: 333.1 kB / 1.285 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/1.377, allocations: 257.6 kB / 1.285 GB, free: 11.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006541/1.378, allocations: 453.6 kB / 1.286 GB, free: 11.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/1.379, allocations: 0.7065 MB / 1.287 GB, free: 11.36 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.379, allocations: 2.375 kB / 1.287 GB, free: 11.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001766/1.381, allocations: 0.8397 MB / 1.287 GB, free: 11.26 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/1.381, allocations: 7.219 kB / 1.287 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/1.381, allocations: 8.656 kB / 1.287 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.699e-05/1.381, allocations: 8.75 kB / 1.287 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/1.382, allocations: 266.1 kB / 1.288 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/1.384, allocations: 1.392 MB / 1.289 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/1.385, allocations: 127.6 kB / 1.289 GB, free: 9.844 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.385, allocations: 30.41 kB / 1.289 GB, free: 9.844 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001131/1.387, allocations: 478.6 kB / 1.29 GB, free: 9.762 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007376/1.387, allocations: 449 kB / 1.29 GB, free: 9.562 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001308/1.389, allocations: 0.707 MB / 1.291 GB, free: 9.375 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.064e-06/1.389, allocations: 1.469 kB / 1.291 GB, free: 9.375 MB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001869/1.391, allocations: 0.8326 MB / 1.292 GB, free: 9.266 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/1.391, allocations: 10.58 kB / 1.292 GB, free: 9.266 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.391, allocations: 6.703 kB / 1.292 GB, free: 9.266 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/1.391, allocations: 8.094 kB / 1.292 GB, free: 9.266 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/1.392, allocations: 264 kB / 1.292 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/1.394, allocations: 1.394 MB / 1.293 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/1.395, allocations: 104.9 kB / 1.293 GB, free: 7.875 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/1.395, allocations: 34.22 kB / 1.293 GB, free: 7.871 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003424/1.395, allocations: 235.7 kB / 1.294 GB, free: 7.684 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003878/1.396, allocations: 109.5 kB / 1.294 GB, free: 7.629 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/1.398, allocations: 0.7986 MB / 1.294 GB, free: 7.547 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/1.398, allocations: 6.531 kB / 1.294 GB, free: 7.547 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/1.398, allocations: 5.031 kB / 1.294 GB, free: 7.543 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001481/1.399, allocations: 0.7066 MB / 1.295 GB, free: 7.363 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004328/1.404, allocations: 1.937 MB / 1.297 GB, free: 6.949 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.404, allocations: 3.453 kB / 1.297 GB, free: 6.949 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007678/1.404, allocations: 141.8 kB / 1.297 GB, free: 6.949 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004529/1.405, allocations: 48.98 kB / 1.297 GB, free: 6.941 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.718e-05/1.405, allocations: 22.34 kB / 1.297 GB, free: 6.938 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/1.406, allocations: 1.348 MB / 1.299 GB, free: 5.652 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.406, allocations: 2.219 kB / 1.299 GB, free: 5.652 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/1.409, allocations: 1.222 MB / 1.3 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000771/1.41, allocations: 261.6 kB / 1.3 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/1.41, allocations: 13.62 kB / 1.3 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009588/1.411, allocations: 65.72 kB / 1.3 GB, free: 5.195 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/1.411, allocations: 44.61 kB / 1.3 GB, free: 5.195 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/1.411, allocations: 21.12 kB / 1.3 GB, free: 5.195 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001142/1.412, allocations: 0.5987 MB / 1.301 GB, free: 5.086 MB / 1.014 GB Notification: Performance of sort global known variables: time 3e-07/1.412, allocations: 0 / 1.301 GB, free: 5.086 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00226/1.415, allocations: 0.5345 MB / 1.301 GB, free: 5 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * 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: 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007152/1.415, allocations: 222.6 kB / 1.301 GB, free: 4.887 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003883/1.419, allocations: 1.204 MB / 1.303 GB, free: 4.855 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.419, allocations: 0 / 1.303 GB, free: 4.855 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009116/1.42, allocations: 445.6 kB / 1.303 GB, free: 4.738 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/1.423, allocations: 0.4993 MB / 1.304 GB, free: 4.707 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005242/1.429, allocations: 2.718 MB / 1.306 GB, free: 3.211 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009671/1.43, allocations: 1.144 MB / 1.307 GB, free: 2.488 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004127/1.43, allocations: 83.98 kB / 1.307 GB, free: 2.48 MB / 1.014 GB Notification: Performance of SimCode: time 1.072e-06/1.43, allocations: 0 / 1.307 GB, free: 2.48 MB / 1.014 GB Notification: Performance of Templates: time 0.03923/1.469, allocations: 21.44 MB / 1.328 GB, free: 13.81 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches