Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.001857/0.001857, allocations: 103.6 kB / 18.95 MB, free: 2.664 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.002193/0.002193, allocations: 212.9 kB / 22.24 MB, free: 5.266 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.788/2.788, allocations: 476 MB / 0.7699 GB, free: 4.703 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Outside_CpData_Directions,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",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.002118/0.002118, allocations: 70.08 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3957, allocations: 170 MB / 1.283 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2009/0.5966, allocations: 148.3 MB / 1.427 GB, free: 7.516 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02531/0.622, allocations: 16.21 MB / 1.443 GB, free: 7.258 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.6238, allocations: 43.62 kB / 1.443 GB, free: 7.215 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.6257, allocations: 0.5622 MB / 1.444 GB, free: 6.648 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006744/0.6324, allocations: 1.846 MB / 1.446 GB, free: 4.797 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004645/0.6371, allocations: 1.467 MB / 1.447 GB, free: 3.344 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004665/0.6417, allocations: 2.922 MB / 1.45 GB, free: 420 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003151/0.6449, allocations: 1.572 MB / 1.451 GB, free: 14.79 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005084/0.65, allocations: 1.538 MB / 1.453 GB, free: 13.29 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/0.6521, allocations: 1.054 MB / 1.454 GB, free: 12.23 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004808/0.6526, allocations: 224 kB / 1.454 GB, free: 12.02 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003643/0.6562, allocations: 1.466 MB / 1.456 GB, free: 10.55 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0009112/0.6571, allocations: 0.8139 MB / 1.456 GB, free: 9.73 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001551/0.6587, allocations: 1.05 MB / 1.457 GB, free: 8.676 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00611/0.6648, allocations: 3.814 MB / 1.461 GB, free: 4.848 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.6648, allocations: 0 / 1.461 GB, free: 4.848 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.235e-06/0.6648, allocations: 0 / 1.461 GB, free: 4.848 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.291e-05/0.6649, allocations: 0 / 1.461 GB, free: 4.848 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.006152/0.671, allocations: 2.962 MB / 1.464 GB, free: 1.84 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/0.6711, allocations: 8.031 kB / 1.464 GB, free: 1.832 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004148/0.6715, allocations: 252.9 kB / 1.464 GB, free: 1.574 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004573/0.6761, allocations: 0.6306 MB / 1.465 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005701/0.6818, allocations: 3.378 MB / 1.468 GB, free: 13.53 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.6819, allocations: 131.4 kB / 1.468 GB, free: 13.4 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003054/0.6822, allocations: 164 kB / 1.468 GB, free: 13.24 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00462/0.6868, allocations: 2.725 MB / 1.471 GB, free: 10.28 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.6868, allocations: 0 / 1.471 GB, free: 10.28 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001987/0.687, allocations: 72 kB / 1.471 GB, free: 10.21 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/0.6871, allocations: 44 kB / 1.471 GB, free: 10.16 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004002/0.6911, allocations: 2.066 MB / 1.473 GB, free: 8.094 MB / 1.17 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.01091/0.702, allocations: 5.12 MB / 1.478 GB, free: 2.887 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003541/0.7055, allocations: 1.732 MB / 1.48 GB, free: 1.152 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.707, allocations: 0.7182 MB / 1.481 GB, free: 440 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004685/0.7074, allocations: 117.2 kB / 1.481 GB, free: 324 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002345/0.7098, allocations: 1.631 MB / 1.482 GB, free: 14.52 MB / 1.186 GB Notification: Performance of pre-optimization done (n=146): time 3.396e-06/0.7098, allocations: 0 / 1.482 GB, free: 14.52 MB / 1.186 GB Notification: Performance of matching and sorting (n=146): time 0.007454/0.7172, allocations: 2.625 MB / 1.485 GB, free: 11.87 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.7174, allocations: 201.2 kB / 1.485 GB, free: 11.63 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005707/0.7231, allocations: 4.109 MB / 1.489 GB, free: 7.52 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003721/0.7235, allocations: 57.7 kB / 1.489 GB, free: 7.457 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009781/0.7244, allocations: 0.9232 MB / 1.49 GB, free: 6.523 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006126/0.725, allocations: 0.4918 MB / 1.491 GB, free: 6.027 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004624/0.7255, allocations: 238.8 kB / 1.491 GB, free: 5.785 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.7257, allocations: 353.9 kB / 1.491 GB, free: 5.434 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.727, allocations: 0.5882 MB / 1.492 GB, free: 4.848 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.7289, allocations: 1.239 MB / 1.493 GB, free: 3.438 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002841/0.7317, allocations: 1.333 MB / 1.494 GB, free: 2.094 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.7317, allocations: 3.938 kB / 1.494 GB, free: 2.09 MB / 1.186 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004789/0.7365, allocations: 1.812 MB / 1.496 GB, free: 260 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.7365, allocations: 4 kB / 1.496 GB, free: 256 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.7365, allocations: 3.938 kB / 1.496 GB, free: 252 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.7377, allocations: 208.2 kB / 1.496 GB, free: 28 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.7394, allocations: 335.5 kB / 1.497 GB, free: 15.7 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007213/0.7466, allocations: 6.787 MB / 1.503 GB, free: 8.328 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.7485, allocations: 167.1 kB / 1.503 GB, free: 8.164 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002567/0.7488, allocations: 47.97 kB / 1.503 GB, free: 8.117 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001361/0.7502, allocations: 490.8 kB / 1.504 GB, free: 7.629 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008294/0.751, allocations: 202.9 kB / 1.504 GB, free: 7.43 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005502/0.7565, allocations: 2.165 MB / 1.506 GB, free: 5.238 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.7565, allocations: 16 kB / 1.506 GB, free: 5.223 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.7565, allocations: 4 kB / 1.506 GB, free: 5.219 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/0.7565, allocations: 7.969 kB / 1.506 GB, free: 5.211 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009113/0.7657, allocations: 3.84 MB / 1.51 GB, free: 1.305 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.7657, allocations: 3.938 kB / 1.51 GB, free: 1.301 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.7673, allocations: 315.6 kB / 1.51 GB, free: 0.9922 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009467/0.7682, allocations: 204.1 kB / 1.51 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.7683, allocations: 39.97 kB / 1.51 GB, free: 0.7383 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006928/0.7753, allocations: 6.828 MB / 1.517 GB, free: 9.332 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7753, allocations: 0 / 1.517 GB, free: 9.332 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005291/0.7805, allocations: 2.037 MB / 1.519 GB, free: 7.262 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00209/0.7826, allocations: 454 kB / 1.52 GB, free: 6.816 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007686/0.7834, allocations: 32 kB / 1.52 GB, free: 6.785 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/0.7854, allocations: 116.8 kB / 1.52 GB, free: 6.676 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003913/0.7858, allocations: 121 kB / 1.52 GB, free: 6.555 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003108/0.7861, allocations: 75.94 kB / 1.52 GB, free: 6.48 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00509/0.7912, allocations: 3.145 MB / 1.523 GB, free: 3.344 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7912, allocations: 0 / 1.523 GB, free: 3.344 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002739/0.794, allocations: 0.6976 MB / 1.524 GB, free: 2.645 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008442/0.8024, allocations: 3.28 MB / 1.527 GB, free: 15.54 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004341/0.8068, allocations: 2.023 MB / 1.529 GB, free: 13.45 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.8068, allocations: 4.594 kB / 1.529 GB, free: 13.44 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002576/0.8093, allocations: 1.375 MB / 1.53 GB, free: 12 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/0.8128, allocations: 0.5522 MB / 1.531 GB, free: 11.47 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03772/0.8505, allocations: 21.15 MB / 1.551 GB, free: 6.078 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/0.8519, allocations: 0.958 MB / 1.552 GB, free: 5.086 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002144/0.8541, allocations: 0.5328 MB / 1.553 GB, free: 4.547 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/0.8556, allocations: 0.9053 MB / 1.554 GB, free: 3.641 MB / 1.248 GB Notification: Performance of SimCode: time 1.182e-06/0.8556, allocations: 0 / 1.554 GB, free: 3.641 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7574/1.613, allocations: 53.19 MB / 1.606 GB, free: 317.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.91/17.52, allocations: 4.938 kB / 1.606 GB, free: 317.7 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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: 24.41738679399714]