Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 211 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.322/1.322, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.939/2.939, allocations: 0.49 GB / 0.7951 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 64.66 kB / 1.154 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2888, allocations: 176.1 MB / 1.326 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2511/0.5399, allocations: 225.4 MB / 1.546 GB, free: 15.14 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02522/0.5652, allocations: 19.07 MB / 1.565 GB, free: 12.02 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002123/0.5673, allocations: 110.9 kB / 1.565 GB, free: 11.91 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.5693, allocations: 0.8532 MB / 1.566 GB, free: 11.05 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.007383/0.5767, allocations: 2.979 MB / 1.568 GB, free: 8.059 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.006961/0.5837, allocations: 2.852 MB / 1.571 GB, free: 5.215 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.00551/0.5892, allocations: 3.867 MB / 1.575 GB, free: 1.332 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.5909, allocations: 0.9182 MB / 1.576 GB, free: 388 kB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0113/0.6022, allocations: 5.082 MB / 1.581 GB, free: 11.29 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.6042, allocations: 1.046 MB / 1.582 GB, free: 10.23 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0002507/0.6044, allocations: 108 kB / 1.582 GB, free: 10.13 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006199/0.6106, allocations: 2.94 MB / 1.585 GB, free: 7.184 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0008122/0.6114, allocations: 0.6697 MB / 1.586 GB, free: 6.512 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.6125, allocations: 0.7698 MB / 1.586 GB, free: 5.738 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.006487/0.619, allocations: 4.104 MB / 1.59 GB, free: 1.621 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.619, allocations: 0 / 1.59 GB, free: 1.621 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.432e-06/0.619, allocations: 0 / 1.59 GB, free: 1.621 MB / 1.279 GB Notification: Performance of Transformations before backend: time 3.072e-05/0.6191, allocations: 0 / 1.59 GB, free: 1.621 MB / 1.279 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.003223/0.6223, allocations: 2.275 MB / 1.592 GB, free: 15.3 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.6223, allocations: 12.03 kB / 1.592 GB, free: 15.29 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000211/0.6225, allocations: 194 kB / 1.593 GB, free: 15.09 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.6246, allocations: 490.2 kB / 1.593 GB, free: 14.61 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.6269, allocations: 1.313 MB / 1.594 GB, free: 13.25 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-05/0.627, allocations: 98.44 kB / 1.595 GB, free: 13.16 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.6272, allocations: 128 kB / 1.595 GB, free: 13.03 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.6296, allocations: 1.715 MB / 1.596 GB, free: 11.18 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.6296, allocations: 3.938 kB / 1.596 GB, free: 11.17 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.6297, allocations: 56 kB / 1.596 GB, free: 11.12 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.258e-05/0.6298, allocations: 67.67 kB / 1.596 GB, free: 11.05 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.6315, allocations: 1.219 MB / 1.598 GB, free: 9.832 MB / 1.295 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.007062/0.6385, allocations: 6.37 MB / 1.604 GB, free: 3.273 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008775/0.6394, allocations: 0.6304 MB / 1.604 GB, free: 2.551 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007166/0.6401, allocations: 0.5901 MB / 1.605 GB, free: 1.93 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007754/0.6409, allocations: 237 kB / 1.605 GB, free: 1.699 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.6409, allocations: 54.48 kB / 1.605 GB, free: 1.637 MB / 1.295 GB Notification: Performance of pre-optimization done (n=72): time 2.244e-06/0.641, allocations: 0 / 1.605 GB, free: 1.637 MB / 1.295 GB Notification: Performance of matching and sorting (n=72): time 0.002328/0.6433, allocations: 1.389 MB / 1.607 GB, free: 248 kB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.5363/1.18, allocations: 303.3 kB / 1.607 GB, free: 281.2 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002919/1.183, allocations: 1.883 MB / 1.609 GB, free: 281 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/1.183, allocations: 42.61 kB / 1.609 GB, free: 281 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005509/1.183, allocations: 0.7281 MB / 1.61 GB, free: 280.8 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/1.183, allocations: 260.8 kB / 1.61 GB, free: 280.8 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/1.184, allocations: 131.4 kB / 1.61 GB, free: 280.7 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.021e-05/1.184, allocations: 337.2 kB / 1.61 GB, free: 280.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004399/1.184, allocations: 333.4 kB / 1.611 GB, free: 280.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007174/1.185, allocations: 0.9905 MB / 1.612 GB, free: 279.5 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000907/1.186, allocations: 0.857 MB / 1.612 GB, free: 279.1 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/1.186, allocations: 1.094 kB / 1.612 GB, free: 279.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001478/1.187, allocations: 1.026 MB / 1.613 GB, free: 278.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/1.187, allocations: 11.16 kB / 1.613 GB, free: 278.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.187, allocations: 3.562 kB / 1.613 GB, free: 278.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/1.187, allocations: 8.312 kB / 1.613 GB, free: 278.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/1.188, allocations: 127.4 kB / 1.614 GB, free: 278.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/1.188, allocations: 6.406 kB / 1.614 GB, free: 278.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007135/1.188, allocations: 128.5 kB / 1.614 GB, free: 278.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/1.189, allocations: 47.33 kB / 1.614 GB, free: 278.7 MB / 1.295 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.0006283/1.189, allocations: 458.1 kB / 1.614 GB, free: 278.4 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004334/1.19, allocations: 200.8 kB / 1.614 GB, free: 278.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/1.191, allocations: 1.098 MB / 1.615 GB, free: 277.9 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/1.191, allocations: 11.47 kB / 1.615 GB, free: 277.9 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/1.191, allocations: 2.844 kB / 1.615 GB, free: 277.9 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/1.191, allocations: 6.875 kB / 1.615 GB, free: 277.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/1.203, allocations: 7.694 MB / 1.623 GB, free: 274.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.204e-05/1.203, allocations: 14.88 kB / 1.623 GB, free: 274.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004371/1.203, allocations: 141.9 kB / 1.623 GB, free: 274.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.03e-05/1.203, allocations: 19.91 kB / 1.623 GB, free: 274.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.98e-05/1.203, allocations: 40.22 kB / 1.623 GB, free: 274.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.37e-05/1.203, allocations: 34.7 kB / 1.623 GB, free: 274.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.525e-05/1.203, allocations: 24.81 kB / 1.623 GB, free: 274.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/1.205, allocations: 1.686 MB / 1.625 GB, free: 272.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007524/1.206, allocations: 343.3 kB / 1.625 GB, free: 272.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/1.206, allocations: 35.03 kB / 1.625 GB, free: 272.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006124/1.207, allocations: 27 kB / 1.625 GB, free: 272.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/1.207, allocations: 110.2 kB / 1.625 GB, free: 272.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/1.207, allocations: 56.48 kB / 1.625 GB, free: 272.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001617/1.208, allocations: 1.325 MB / 1.627 GB, free: 272.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.208, allocations: 3.938 kB / 1.627 GB, free: 272.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001611/1.21, allocations: 0.5203 MB / 1.627 GB, free: 272.1 MB / 1.295 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.003576/1.214, allocations: 3.002 MB / 1.63 GB, free: 270.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001253/1.215, allocations: 0.8401 MB / 1.631 GB, free: 270.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.647e-05/1.215, allocations: 2.844 kB / 1.631 GB, free: 270.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005686/1.215, allocations: 477.8 kB / 1.631 GB, free: 269.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005555/1.221, allocations: 1.346 MB / 1.633 GB, free: 269.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/1.237, allocations: 13.92 MB / 1.646 GB, free: 262.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/1.238, allocations: 0.8163 MB / 1.647 GB, free: 262.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001394/1.239, allocations: 488.4 kB / 1.648 GB, free: 261.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005471/1.24, allocations: 0.6554 MB / 1.648 GB, free: 261.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.262e-06/1.24, allocations: 0 / 1.648 GB, free: 261.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0917/1.332, allocations: 64.91 MB / 1.712 GB, free: 197.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/14.13, allocations: 14.03 kB / 1.712 GB, free: 197.7 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Validation.Boundary.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: 20.362950926006306]