Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.001267/0.001267, allocations: 108.4 kB / 16.46 MB, free: 6.508 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.001382/0.001382, allocations: 199.8 kB / 19.41 MB, free: 3.66 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.479/1.479, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.757/2.757, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] 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.Outside_CpData_Directions,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.89 kB / 1.056 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9617/0.9637, allocations: 160.7 MB / 1.213 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2285/1.192, allocations: 169 MB / 1.378 GB, free: 14.58 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02825/1.22, allocations: 17.45 MB / 1.395 GB, free: 13.09 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/1.222, allocations: 31.81 kB / 1.395 GB, free: 13.05 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002275/1.225, allocations: 0.5934 MB / 1.396 GB, free: 12.46 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006443/1.231, allocations: 1.804 MB / 1.397 GB, free: 10.65 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004599/1.236, allocations: 1.454 MB / 1.399 GB, free: 9.207 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005127/1.241, allocations: 2.883 MB / 1.402 GB, free: 6.316 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003511/1.244, allocations: 1.616 MB / 1.403 GB, free: 4.645 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00538/1.25, allocations: 1.487 MB / 1.405 GB, free: 3.203 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/1.252, allocations: 1.144 MB / 1.406 GB, free: 2.055 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.00099/1.253, allocations: 224 kB / 1.406 GB, free: 1.836 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004279/1.257, allocations: 1.599 MB / 1.408 GB, free: 240 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001261/1.259, allocations: 0.81 MB / 1.408 GB, free: 15.42 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001804/1.261, allocations: 1.279 MB / 1.41 GB, free: 14.14 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006508/1.267, allocations: 3.747 MB / 1.413 GB, free: 10.38 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/1.267, allocations: 3.938 kB / 1.413 GB, free: 10.37 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.603e-06/1.267, allocations: 4 kB / 1.413 GB, free: 10.37 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.426e-05/1.267, allocations: 0 / 1.413 GB, free: 10.37 MB / 1.123 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.005989/1.273, allocations: 3.016 MB / 1.416 GB, free: 7.285 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.273, allocations: 8.625 kB / 1.416 GB, free: 7.277 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003314/1.273, allocations: 244.9 kB / 1.416 GB, free: 7.027 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003902/1.277, allocations: 0.5838 MB / 1.417 GB, free: 6.441 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005175/1.283, allocations: 3.442 MB / 1.42 GB, free: 2.949 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/1.283, allocations: 127.4 kB / 1.42 GB, free: 2.824 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002624/1.283, allocations: 168 kB / 1.421 GB, free: 2.66 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003575/1.286, allocations: 1.961 MB / 1.423 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/1.287, allocations: 3.984 kB / 1.423 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/1.287, allocations: 76 kB / 1.423 GB, free: 0.5703 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/1.287, allocations: 40 kB / 1.423 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003731/1.29, allocations: 2.113 MB / 1.425 GB, free: 14.41 MB / 1.139 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.01156/1.302, allocations: 6.736 MB / 1.431 GB, free: 7.336 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003651/1.306, allocations: 2.03 MB / 1.433 GB, free: 5.219 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/1.307, allocations: 0.7256 MB / 1.434 GB, free: 4.492 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006597/1.308, allocations: 425.6 kB / 1.434 GB, free: 4 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001959/1.31, allocations: 1.021 MB / 1.435 GB, free: 2.961 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 3.126e-06/1.31, allocations: 0 / 1.435 GB, free: 2.961 MB / 1.139 GB Notification: Performance of matching and sorting (n=146): time 0.007461/1.317, allocations: 3.005 MB / 1.438 GB, free: 15.84 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/1.317, allocations: 205.2 kB / 1.439 GB, free: 15.59 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005405/1.323, allocations: 4.073 MB / 1.443 GB, free: 11.52 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000369/1.323, allocations: 61.7 kB / 1.443 GB, free: 11.45 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009232/1.324, allocations: 0.9153 MB / 1.443 GB, free: 10.52 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006124/1.325, allocations: 0.4957 MB / 1.444 GB, free: 10.02 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000437/1.325, allocations: 242.8 kB / 1.444 GB, free: 9.781 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001804/1.325, allocations: 349.9 kB / 1.445 GB, free: 9.434 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/1.326, allocations: 0.5882 MB / 1.445 GB, free: 8.844 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/1.328, allocations: 0.8047 MB / 1.446 GB, free: 7.98 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002558/1.33, allocations: 1.333 MB / 1.447 GB, free: 6.633 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/1.33, allocations: 4 kB / 1.447 GB, free: 6.629 MB / 1.154 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004465/1.335, allocations: 1.808 MB / 1.449 GB, free: 4.801 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/1.335, allocations: 8 kB / 1.449 GB, free: 4.793 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/1.335, allocations: 0 / 1.449 GB, free: 4.793 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/1.336, allocations: 208.1 kB / 1.449 GB, free: 4.574 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/1.338, allocations: 327.6 kB / 1.449 GB, free: 4.254 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006983/1.345, allocations: 7.326 MB / 1.457 GB, free: 12.23 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/1.347, allocations: 167.2 kB / 1.457 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/1.347, allocations: 51.97 kB / 1.457 GB, free: 12.02 MB / 1.17 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.001118/1.348, allocations: 485.5 kB / 1.457 GB, free: 11.53 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005757/1.348, allocations: 206.6 kB / 1.457 GB, free: 11.33 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004848/1.353, allocations: 2.165 MB / 1.46 GB, free: 9.133 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/1.353, allocations: 16 kB / 1.46 GB, free: 9.117 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.353, allocations: 0 / 1.46 GB, free: 9.117 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/1.353, allocations: 7.969 kB / 1.46 GB, free: 9.109 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008522/1.362, allocations: 4.121 MB / 1.464 GB, free: 4.914 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.362, allocations: 7.922 kB / 1.464 GB, free: 4.906 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/1.363, allocations: 327.5 kB / 1.464 GB, free: 4.586 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008903/1.364, allocations: 192.1 kB / 1.464 GB, free: 4.383 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/1.364, allocations: 39.97 kB / 1.464 GB, free: 4.344 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006679/1.371, allocations: 7.364 MB / 1.471 GB, free: 12.28 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.371, allocations: 0 / 1.471 GB, free: 12.28 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004727/1.376, allocations: 2.033 MB / 1.473 GB, free: 10.2 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/1.377, allocations: 0.5148 MB / 1.474 GB, free: 9.668 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/1.377, allocations: 32 kB / 1.474 GB, free: 9.637 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.379, allocations: 116.1 kB / 1.474 GB, free: 9.527 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002731/1.379, allocations: 117.2 kB / 1.474 GB, free: 9.414 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/1.379, allocations: 71.94 kB / 1.474 GB, free: 9.344 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.003704/1.383, allocations: 3.128 MB / 1.477 GB, free: 6.223 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/1.383, allocations: 0 / 1.477 GB, free: 6.223 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002111/1.385, allocations: 0.6937 MB / 1.478 GB, free: 5.527 MB / 1.186 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.006856/1.392, allocations: 3.244 MB / 1.481 GB, free: 2.418 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003841/1.396, allocations: 2.039 MB / 1.483 GB, free: 320 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.396, allocations: 0.5625 kB / 1.483 GB, free: 320 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002272/1.398, allocations: 1.372 MB / 1.484 GB, free: 14.88 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/1.401, allocations: 0.5527 MB / 1.485 GB, free: 14.34 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03734/1.438, allocations: 21.06 MB / 1.506 GB, free: 9.031 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/1.439, allocations: 1.537 MB / 1.507 GB, free: 7.461 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002398/1.442, allocations: 0.5251 MB / 1.508 GB, free: 6.93 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001782/1.444, allocations: 0.8975 MB / 1.508 GB, free: 6.031 MB / 1.217 GB Notification: Performance of SimCode: time 1.483e-06/1.444, allocations: 0 / 1.508 GB, free: 6.031 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1225/1.566, allocations: 49.71 MB / 1.557 GB, free: 4.703 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.6/18.17, allocations: 12 kB / 1.557 GB, free: 4.691 MB / 1.264 GB " [Timeout remaining time 282] (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.636805639136583]