Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Sources.Validation.Boundary,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_Boundary",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.00114/0.001139, 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.001164/0.001164, allocations: 196.6 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.389/2.389, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.89 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5125/0.5137, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.6796/1.193, allocations: 253.3 MB / 1.265 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02123/1.215, allocations: 20.59 MB / 1.285 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/1.217, allocations: 76.47 kB / 1.285 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/1.218, allocations: 0.8327 MB / 1.286 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005495/1.224, allocations: 2.911 MB / 1.289 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005186/1.229, allocations: 2.738 MB / 1.291 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003334/1.232, allocations: 3.822 MB / 1.295 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/1.234, allocations: 1.305 MB / 1.296 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/1.235, allocations: 1.413 MB / 1.298 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008984/1.236, allocations: 0.9875 MB / 1.299 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/1.237, allocations: 108.9 kB / 1.299 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006466/1.243, allocations: 4.184 MB / 1.303 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004206/1.243, allocations: 0.6491 MB / 1.303 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007699/1.244, allocations: 0.9829 MB / 1.304 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003898/1.248, allocations: 4.204 MB / 1.309 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/1.248, allocations: 0 / 1.309 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.193e-06/1.248, allocations: 0.9688 kB / 1.309 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.8e-05/1.248, allocations: 0 / 1.309 GB, free: 1.164 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.00212/1.25, allocations: 2.289 MB / 1.311 GB, free: 15.98 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/1.25, allocations: 8.375 kB / 1.311 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001705/1.25, allocations: 190.3 kB / 1.311 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/1.252, allocations: 485.8 kB / 1.311 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/1.254, allocations: 1.258 MB / 1.313 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.458e-05/1.254, allocations: 100.7 kB / 1.313 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/1.254, allocations: 126.5 kB / 1.313 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/1.256, allocations: 1.718 MB / 1.315 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/1.256, allocations: 5.875 kB / 1.315 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.854e-05/1.256, allocations: 53.47 kB / 1.315 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-05/1.256, allocations: 69.42 kB / 1.315 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/1.257, allocations: 1.214 MB / 1.316 GB, free: 15.01 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.005695/1.263, allocations: 7.574 MB / 1.323 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006884/1.264, allocations: 0.6695 MB / 1.324 GB, free: 10.24 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005869/1.264, allocations: 0.619 MB / 1.324 GB, free: 10.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/1.266, allocations: 1.867 MB / 1.326 GB, free: 8.098 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/1.266, allocations: 56.72 kB / 1.326 GB, free: 8.059 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 2.344e-06/1.266, allocations: 0 / 1.326 GB, free: 8.059 MB / 1.014 GB Notification: Performance of matching and sorting (n=72): time 0.001882/1.268, allocations: 1.393 MB / 1.328 GB, free: 7.918 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/1.268, allocations: 299.8 kB / 1.328 GB, free: 7.574 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/1.269, allocations: 1.887 MB / 1.33 GB, free: 7.363 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/1.269, allocations: 41.8 kB / 1.33 GB, free: 7.332 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004736/1.27, allocations: 0.7326 MB / 1.331 GB, free: 7.199 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/1.27, allocations: 239.8 kB / 1.331 GB, free: 7.047 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/1.27, allocations: 135.7 kB / 1.331 GB, free: 7.027 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.27, allocations: 333.6 kB / 1.331 GB, free: 6.719 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/1.271, allocations: 333.5 kB / 1.332 GB, free: 6.715 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/1.271, allocations: 0.5622 MB / 1.332 GB, free: 6.586 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007952/1.272, allocations: 0.8597 MB / 1.333 GB, free: 6.449 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.272, allocations: 0 / 1.333 GB, free: 6.449 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001104/1.273, allocations: 1.014 MB / 1.334 GB, free: 6.316 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/1.273, allocations: 6.844 kB / 1.334 GB, free: 6.316 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.273, allocations: 3.219 kB / 1.334 GB, free: 6.316 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.273, allocations: 12.06 kB / 1.334 GB, free: 6.312 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/1.274, allocations: 123 kB / 1.334 GB, free: 6.312 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.274, allocations: 7.969 kB / 1.334 GB, free: 6.312 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/1.274, allocations: 131.7 kB / 1.334 GB, free: 6.227 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.445e-05/1.274, allocations: 43.81 kB / 1.334 GB, free: 6.227 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.000483/1.275, allocations: 458 kB / 1.335 GB, free: 6.109 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/1.275, allocations: 190.7 kB / 1.335 GB, free: 6.012 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/1.276, allocations: 1.083 MB / 1.336 GB, free: 5.918 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/1.276, allocations: 15.38 kB / 1.336 GB, free: 5.918 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.276, allocations: 2.562 kB / 1.336 GB, free: 5.918 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/1.276, allocations: 5.469 kB / 1.336 GB, free: 5.918 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009315/1.286, allocations: 8.935 MB / 1.345 GB, free: 3.086 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/1.286, allocations: 15.53 kB / 1.345 GB, free: 3.086 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/1.286, allocations: 146 kB / 1.345 GB, free: 3.086 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/1.286, allocations: 22.7 kB / 1.345 GB, free: 3.082 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/1.286, allocations: 40.47 kB / 1.345 GB, free: 3.082 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.478e-05/1.286, allocations: 29.61 kB / 1.345 GB, free: 3.082 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.308e-05/1.286, allocations: 31.31 kB / 1.345 GB, free: 3.074 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/1.288, allocations: 1.66 MB / 1.347 GB, free: 2.195 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005034/1.288, allocations: 415.8 kB / 1.347 GB, free: 1.988 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/1.288, allocations: 34.55 kB / 1.347 GB, free: 1.988 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005679/1.289, allocations: 30.31 kB / 1.347 GB, free: 1.984 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/1.289, allocations: 107.9 kB / 1.347 GB, free: 1.965 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.169e-05/1.289, allocations: 55.27 kB / 1.347 GB, free: 1.965 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001329/1.291, allocations: 1.319 MB / 1.349 GB, free: 1.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.291, allocations: 0 / 1.349 GB, free: 1.82 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001339/1.292, allocations: 0.5297 MB / 1.349 GB, free: 1.754 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003796/1.296, allocations: 3.028 MB / 1.352 GB, free: 160 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009514/1.297, allocations: 0.8645 MB / 1.353 GB, free: 132 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.297, allocations: 2.531 kB / 1.353 GB, free: 132 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005151/1.297, allocations: 492.4 kB / 1.353 GB, free: 128 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005042/1.302, allocations: 1.341 MB / 1.355 GB, free: 15.9 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/1.317, allocations: 15.62 MB / 1.37 GB, free: 6.812 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008884/1.318, allocations: 1.406 MB / 1.371 GB, free: 6.016 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001288/1.319, allocations: 479.1 kB / 1.372 GB, free: 5.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006783/1.32, allocations: 0.6622 MB / 1.372 GB, free: 5.422 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/1.32, allocations: 0 / 1.372 GB, free: 5.422 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3666/1.687, allocations: 60.87 MB / 1.432 GB, free: 12.22 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.966/10.65, allocations: 8.609 kB / 1.432 GB, free: 12.21 MB / 1.092 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches