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.000768/0.000768, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007958/0.0007958, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8201/0.8201, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.647/1.647, allocations: 377.9 MB / 0.6221 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 3.938 kB / 0.981 GB, free: 1.477 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.477e-06/1.075e-05, allocations: 2.281 kB / 0.981 GB, free: 1.473 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.581/0.581, allocations: 225 MB / 1.201 GB, free: 20 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.01555/0.5966, allocations: 19.02 MB / 1.219 GB, free: 12.95 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.5982, allocations: 110.9 kB / 1.219 GB, free: 12.84 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.5997, allocations: 0.8687 MB / 1.22 GB, free: 11.96 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.004817/0.6045, allocations: 3.046 MB / 1.223 GB, free: 8.902 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.004098/0.6086, allocations: 2.961 MB / 1.226 GB, free: 5.949 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.003262/0.6119, allocations: 3.845 MB / 1.23 GB, free: 2.098 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009257/0.6128, allocations: 0.9102 MB / 1.231 GB, free: 1.16 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006739/0.6195, allocations: 5.551 MB / 1.236 GB, free: 11.6 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000992/0.6205, allocations: 0.8839 MB / 1.237 GB, free: 10.71 MB / 1.073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.6206, allocations: 108 kB / 1.237 GB, free: 10.61 MB / 1.073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004127/0.6248, allocations: 2.944 MB / 1.24 GB, free: 7.652 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004081/0.6252, allocations: 0.6854 MB / 1.241 GB, free: 6.965 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.0005014/0.6257, allocations: 0.6352 MB / 1.241 GB, free: 6.328 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.004225/0.6299, allocations: 4.207 MB / 1.245 GB, free: 2.109 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6299, allocations: 0 / 1.245 GB, free: 2.109 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6299, allocations: 0 / 1.245 GB, free: 2.109 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.6299, allocations: 0 / 1.245 GB, free: 2.109 MB / 1.073 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.002024/0.632, allocations: 2.267 MB / 1.248 GB, free: 15.8 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.632, allocations: 8.031 kB / 1.248 GB, free: 15.79 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001482/0.6321, allocations: 192.9 kB / 1.248 GB, free: 15.59 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.6333, allocations: 498 kB / 1.248 GB, free: 15.11 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.6347, allocations: 1.313 MB / 1.25 GB, free: 13.75 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.227e-05/0.6347, allocations: 98.44 kB / 1.25 GB, free: 13.65 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.782e-05/0.6348, allocations: 124 kB / 1.25 GB, free: 13.53 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.6363, allocations: 1.719 MB / 1.251 GB, free: 11.67 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.6364, allocations: 7.938 kB / 1.251 GB, free: 11.66 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.995e-05/0.6364, allocations: 48 kB / 1.251 GB, free: 11.62 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.255e-05/0.6365, allocations: 63.98 kB / 1.252 GB, free: 11.55 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.6376, allocations: 1.221 MB / 1.253 GB, free: 10.33 MB / 1.089 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.004106/0.6417, allocations: 6.347 MB / 1.259 GB, free: 3.805 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005938/0.6423, allocations: 0.6361 MB / 1.26 GB, free: 3.078 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004473/0.6428, allocations: 0.5865 MB / 1.26 GB, free: 2.461 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004406/0.6432, allocations: 231.8 kB / 1.26 GB, free: 2.234 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.6432, allocations: 50.5 kB / 1.26 GB, free: 2.176 MB / 1.089 GB Notification: Performance of pre-optimization done (n=72): time 2.825e-06/0.6432, allocations: 0 / 1.26 GB, free: 2.176 MB / 1.089 GB Notification: Performance of matching and sorting (n=72): time 0.001428/0.6447, allocations: 1.408 MB / 1.262 GB, free: 0.7617 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.713e-05/0.6448, allocations: 290.7 kB / 1.262 GB, free: 420 kB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.6462, allocations: 1.892 MB / 1.264 GB, free: 14.48 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.6462, allocations: 41.7 kB / 1.264 GB, free: 14.43 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.6467, allocations: 0.7332 MB / 1.265 GB, free: 13.69 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.6468, allocations: 249.7 kB / 1.265 GB, free: 13.45 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.6469, allocations: 134.3 kB / 1.265 GB, free: 13.3 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.647, allocations: 330 kB / 1.265 GB, free: 12.98 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.6472, allocations: 325.1 kB / 1.266 GB, free: 12.66 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.6478, allocations: 0.9931 MB / 1.267 GB, free: 11.51 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006631/0.6484, allocations: 0.8729 MB / 1.267 GB, free: 10.59 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6484, allocations: 0 / 1.267 GB, free: 10.59 MB / 1.104 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008569/0.6493, allocations: 1.019 MB / 1.268 GB, free: 9.562 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.6493, allocations: 10.66 kB / 1.268 GB, free: 9.555 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.6493, allocations: 4 kB / 1.268 GB, free: 9.551 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.6493, allocations: 12 kB / 1.268 GB, free: 9.539 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.6496, allocations: 119.8 kB / 1.269 GB, free: 9.422 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.6496, allocations: 11.94 kB / 1.269 GB, free: 9.41 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.65, allocations: 134.8 kB / 1.269 GB, free: 9.277 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/0.65, allocations: 43.92 kB / 1.269 GB, free: 9.234 MB / 1.104 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.0003964/0.6504, allocations: 469.5 kB / 1.269 GB, free: 8.766 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.6506, allocations: 194.7 kB / 1.269 GB, free: 8.574 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.6516, allocations: 1.095 MB / 1.27 GB, free: 7.469 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.6516, allocations: 12 kB / 1.27 GB, free: 7.457 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6516, allocations: 4 kB / 1.27 GB, free: 7.453 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.6517, allocations: 3.984 kB / 1.27 GB, free: 7.449 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006679/0.6583, allocations: 7.703 MB / 1.278 GB, free: 15.48 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.6583, allocations: 16 kB / 1.278 GB, free: 15.46 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.6586, allocations: 140.6 kB / 1.278 GB, free: 15.32 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.6586, allocations: 20 kB / 1.278 GB, free: 15.3 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.6586, allocations: 40 kB / 1.278 GB, free: 15.27 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.406e-05/0.6586, allocations: 31.86 kB / 1.278 GB, free: 15.23 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/0.6586, allocations: 23.88 kB / 1.278 GB, free: 15.21 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.6598, allocations: 1.658 MB / 1.28 GB, free: 13.33 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003887/0.6601, allocations: 346.5 kB / 1.28 GB, free: 12.99 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.6603, allocations: 35.92 kB / 1.28 GB, free: 12.96 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.6606, allocations: 28 kB / 1.28 GB, free: 12.93 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/0.6607, allocations: 115.4 kB / 1.28 GB, free: 12.82 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.6607, allocations: 52 kB / 1.28 GB, free: 12.77 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.001078/0.6618, allocations: 1.32 MB / 1.282 GB, free: 11.43 MB / 1.12 GB Notification: Performance of sort global known variables: time 6e-08/0.6618, allocations: 0 / 1.282 GB, free: 11.43 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.00109/0.6629, allocations: 0.5262 MB / 1.282 GB, free: 10.9 MB / 1.12 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.002491/0.6654, allocations: 3.003 MB / 1.285 GB, free: 7.664 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0008008/0.6662, allocations: 0.8287 MB / 1.286 GB, free: 6.836 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.6662, allocations: 4 kB / 1.286 GB, free: 6.832 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.0003832/0.6666, allocations: 483.3 kB / 1.286 GB, free: 6.363 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/0.6695, allocations: 1.335 MB / 1.288 GB, free: 5.07 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/0.6819, allocations: 13.97 MB / 1.301 GB, free: 6.406 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/0.6825, allocations: 0.8172 MB / 1.302 GB, free: 5.555 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001053/0.6836, allocations: 486.6 kB / 1.303 GB, free: 5.074 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005292/0.6841, allocations: 0.6565 MB / 1.303 GB, free: 4.418 MB / 1.135 GB Notification: Performance of SimCode: time 9.62e-07/0.6841, allocations: 0 / 1.303 GB, free: 4.418 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06252/0.7466, allocations: 64.48 MB / 1.366 GB, free: 5.066 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.718, allocations: 0 / 1.366 GB, free: 5.066 MB / 1.198 GB " [Timeout remaining time 291] (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/jenkins/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: 12.671195522882044]