Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.Tanks.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.001384/0.001384, allocations: 105.8 kB / 17.54 MB, free: 4.781 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.001404/0.001404, allocations: 190.6 kB / 20.71 MB, free: 1.625 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.269/1.269, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] 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 2.58/2.58, allocations: 496.2 MB / 0.7819 GB, free: 12.26 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.Templates.Components.Validation.Tanks,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Validation_Tanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.Tanks,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Validation_Tanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 67.89 kB / 1.135 GB, free: 13.06 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7527/0.7544, allocations: 173.6 MB / 1.305 GB, free: 33.19 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Templates/Components/Tanks/Buffer.mo:9:3-12:41:writable] Warning: Parameter noTan.V has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Tanks): time 0.02746/0.7819, allocations: 42.39 MB / 1.346 GB, free: 3.082 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01339/0.7953, allocations: 11.25 MB / 1.357 GB, free: 11.05 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.7967, allocations: 50.47 kB / 1.357 GB, free: 11.03 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.7979, allocations: 443.9 kB / 1.358 GB, free: 10.76 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.8008, allocations: 1.219 MB / 1.359 GB, free: 10.04 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.8026, allocations: 0.7452 MB / 1.36 GB, free: 9.625 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002799/0.8054, allocations: 2.075 MB / 1.362 GB, free: 8.633 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008694/0.8062, allocations: 0.524 MB / 1.362 GB, free: 8.363 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/0.8085, allocations: 1.004 MB / 1.363 GB, free: 7.871 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009342/0.8094, allocations: 0.586 MB / 1.364 GB, free: 7.613 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.85e-05/0.8095, allocations: 61.12 kB / 1.364 GB, free: 7.613 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.811, allocations: 0.637 MB / 1.364 GB, free: 7.375 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.8112, allocations: 191.4 kB / 1.365 GB, free: 7.258 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004337/0.8117, allocations: 406.5 kB / 1.365 GB, free: 7.016 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.8135, allocations: 1.262 MB / 1.366 GB, free: 6.547 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8135, allocations: 1.188 kB / 1.366 GB, free: 6.547 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8135, allocations: 0 / 1.366 GB, free: 6.547 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.8136, allocations: 0.7969 kB / 1.366 GB, free: 6.547 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001701/0.8153, allocations: 1.086 MB / 1.367 GB, free: 5.75 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.8153, allocations: 8.75 kB / 1.367 GB, free: 5.75 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.8154, allocations: 96.33 kB / 1.367 GB, free: 5.676 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.8156, allocations: 89.48 kB / 1.367 GB, free: 5.633 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.8167, allocations: 0.697 MB / 1.368 GB, free: 5.184 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.8167, allocations: 42.78 kB / 1.368 GB, free: 5.164 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.721e-05/0.8168, allocations: 49.92 kB / 1.368 GB, free: 5.148 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008732/0.8177, allocations: 0.5599 MB / 1.369 GB, free: 4.859 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.8177, allocations: 3.938 kB / 1.369 GB, free: 4.855 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.8178, allocations: 21.38 kB / 1.369 GB, free: 4.84 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.8178, allocations: 14.55 kB / 1.369 GB, free: 4.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006281/0.8184, allocations: 380.9 kB / 1.369 GB, free: 4.703 MB / 1.076 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.002879/0.8213, allocations: 2.667 MB / 1.372 GB, free: 2.652 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005151/0.8218, allocations: 229.8 kB / 1.372 GB, free: 2.555 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.822, allocations: 111.8 kB / 1.372 GB, free: 2.512 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002053/0.824, allocations: 1.813 MB / 1.374 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.8241, allocations: 32.06 kB / 1.374 GB, free: 0.7617 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.8241, allocations: 1.469 kB / 1.374 GB, free: 0.7617 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0006128/0.8247, allocations: 324.3 kB / 1.374 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.8247, allocations: 66.67 kB / 1.374 GB, free: 0.543 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007164/0.8254, allocations: 0.6376 MB / 1.375 GB, free: 268 kB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.8255, allocations: 27.11 kB / 1.375 GB, free: 236 kB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.8258, allocations: 359.7 kB / 1.375 GB, free: 15.94 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.453e-05/0.8258, allocations: 80.19 kB / 1.375 GB, free: 15.88 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.8259, allocations: 76.48 kB / 1.375 GB, free: 15.83 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.8261, allocations: 372.7 kB / 1.376 GB, free: 15.49 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.8263, allocations: 86.59 kB / 1.376 GB, free: 15.46 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.8265, allocations: 244.2 kB / 1.376 GB, free: 15.25 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/0.827, allocations: 341.7 kB / 1.376 GB, free: 14.98 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.827, allocations: 5.031 kB / 1.376 GB, free: 14.98 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006162/0.8276, allocations: 408.8 kB / 1.377 GB, free: 14.79 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.8276, allocations: 7.781 kB / 1.377 GB, free: 14.79 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.8276, allocations: 5.562 kB / 1.377 GB, free: 14.79 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.8276, allocations: 6.5 kB / 1.377 GB, free: 14.79 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.8279, allocations: 82.7 kB / 1.377 GB, free: 14.78 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.8279, allocations: 11.61 kB / 1.377 GB, free: 14.77 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.8282, allocations: 52.77 kB / 1.377 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.8283, allocations: 22.27 kB / 1.377 GB, free: 14.73 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (intFlo.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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.0002306/0.8285, allocations: 208.5 kB / 1.377 GB, free: 14.57 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.8286, allocations: 71.92 kB / 1.377 GB, free: 14.53 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005737/0.8292, allocations: 330.9 kB / 1.378 GB, free: 14.38 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.8292, allocations: 7.328 kB / 1.378 GB, free: 14.38 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.8292, allocations: 1.219 kB / 1.378 GB, free: 14.38 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004717/0.8297, allocations: 486.7 kB / 1.378 GB, free: 13.96 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.831, allocations: 0.9579 MB / 1.379 GB, free: 13.38 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.831, allocations: 2.531 kB / 1.379 GB, free: 13.38 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.8312, allocations: 47.25 kB / 1.379 GB, free: 13.37 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.8312, allocations: 6.625 kB / 1.379 GB, free: 13.37 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.8312, allocations: 8.719 kB / 1.379 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.8312, allocations: 1.688 kB / 1.379 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8312, allocations: 2.969 kB / 1.379 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007388/0.8319, allocations: 0.549 MB / 1.38 GB, free: 13.03 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.8321, allocations: 181.7 kB / 1.38 GB, free: 12.87 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.768e-05/0.8322, allocations: 8.547 kB / 1.38 GB, free: 12.87 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.8325, allocations: 10.06 kB / 1.38 GB, free: 12.86 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.8325, allocations: 16.5 kB / 1.38 GB, free: 12.86 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.8326, allocations: 16.12 kB / 1.38 GB, free: 12.86 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005679/0.8331, allocations: 465.6 kB / 1.38 GB, free: 12.65 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/0.8331, allocations: 0 / 1.38 GB, free: 12.65 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007127/0.8338, allocations: 218.8 kB / 1.38 GB, free: 12.6 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (tan.vol.dynBal.U,intFlo.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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001589/0.8354, allocations: 1.281 MB / 1.382 GB, free: 11.67 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004726/0.8359, allocations: 251.4 kB / 1.382 GB, free: 11.59 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8359, allocations: 2.062 kB / 1.382 GB, free: 11.59 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.8361, allocations: 109.3 kB / 1.382 GB, free: 11.55 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.838, allocations: 447.1 kB / 1.382 GB, free: 11.43 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006666/0.8447, allocations: 4.957 MB / 1.387 GB, free: 8.488 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.8452, allocations: 0.9068 MB / 1.388 GB, free: 7.77 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0005144/0.8457, allocations: 127.2 kB / 1.388 GB, free: 7.738 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/0.846, allocations: 236.2 kB / 1.389 GB, free: 7.57 MB / 1.092 GB Notification: Performance of SimCode: time 3.91e-07/0.846, allocations: 0 / 1.389 GB, free: 7.57 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05222/0.8982, allocations: 20.2 MB / 1.408 GB, free: 3.188 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.96, allocations: 3.609 kB / 1.408 GB, free: 3.188 MB / 1.092 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Tanks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Components_Validation_Tanks_fmu --startTime=0 --stopTime=500 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Components_Validation_Tanks.fmu > Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Tanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Tanks.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: 14.347602745001495]