Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.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.001816/0.001816, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00227/0.00227, allocations: 215.2 kB / 22.25 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.789 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.746/2.746, allocations: 476 MB / 0.7699 GB, free: 4.742 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.Examples.Outside_CpData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData",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.002123/0.002123, allocations: 65.73 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3693, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2265/0.5959, allocations: 148.3 MB / 1.427 GB, free: 7.637 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02392/0.6198, allocations: 16.19 MB / 1.443 GB, free: 7.402 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.6212, allocations: 47.56 kB / 1.443 GB, free: 7.355 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.6228, allocations: 0.5739 MB / 1.444 GB, free: 6.777 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005146/0.6279, allocations: 1.837 MB / 1.446 GB, free: 4.938 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003759/0.6317, allocations: 1.462 MB / 1.447 GB, free: 3.488 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004209/0.6359, allocations: 2.894 MB / 1.45 GB, free: 0.582 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002463/0.6383, allocations: 1.569 MB / 1.451 GB, free: 14.96 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004315/0.6427, allocations: 1.522 MB / 1.453 GB, free: 13.48 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.6442, allocations: 1.054 MB / 1.454 GB, free: 12.42 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003426/0.6445, allocations: 220 kB / 1.454 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/0.6475, allocations: 1.458 MB / 1.455 GB, free: 10.75 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007735/0.6483, allocations: 0.8139 MB / 1.456 GB, free: 9.93 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.6495, allocations: 1.046 MB / 1.457 GB, free: 8.879 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005006/0.6545, allocations: 3.794 MB / 1.461 GB, free: 5.07 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.6545, allocations: 4 kB / 1.461 GB, free: 5.066 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6545, allocations: 0 / 1.461 GB, free: 5.066 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.629e-05/0.6545, allocations: 0 / 1.461 GB, free: 5.066 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005146/0.6596, allocations: 2.942 MB / 1.464 GB, free: 2.07 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.6597, allocations: 8.031 kB / 1.464 GB, free: 2.062 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003101/0.66, allocations: 260.8 kB / 1.464 GB, free: 1.797 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004256/0.6643, allocations: 0.6305 MB / 1.465 GB, free: 1.164 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004958/0.6692, allocations: 3.366 MB / 1.468 GB, free: 13.76 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.6693, allocations: 135.4 kB / 1.468 GB, free: 13.63 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002931/0.6696, allocations: 164 kB / 1.468 GB, free: 13.47 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003893/0.6735, allocations: 2.705 MB / 1.471 GB, free: 10.53 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.6736, allocations: 0 / 1.471 GB, free: 10.53 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.6737, allocations: 72 kB / 1.471 GB, free: 10.46 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/0.6738, allocations: 40 kB / 1.471 GB, free: 10.42 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003648/0.6774, allocations: 2.038 MB / 1.473 GB, free: 8.375 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.009847/0.6873, allocations: 4.963 MB / 1.478 GB, free: 3.324 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003342/0.6906, allocations: 1.696 MB / 1.48 GB, free: 1.625 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.6919, allocations: 0.7065 MB / 1.48 GB, free: 0.918 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004339/0.6923, allocations: 125.2 kB / 1.48 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002149/0.6945, allocations: 1.606 MB / 1.482 GB, free: 15.03 MB / 1.186 GB Notification: Performance of pre-optimization done (n=146): time 3.297e-06/0.6945, allocations: 0 / 1.482 GB, free: 15.03 MB / 1.186 GB Notification: Performance of matching and sorting (n=146): time 0.006874/0.7013, allocations: 2.605 MB / 1.485 GB, free: 12.4 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.7015, allocations: 201.2 kB / 1.485 GB, free: 12.16 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005319/0.7068, allocations: 4.073 MB / 1.489 GB, free: 8.082 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002047/0.707, allocations: 61.7 kB / 1.489 GB, free: 8.016 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008789/0.7079, allocations: 0.9037 MB / 1.49 GB, free: 7.102 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004988/0.7084, allocations: 0.4958 MB / 1.49 GB, free: 6.602 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004002/0.7088, allocations: 234.8 kB / 1.49 GB, free: 6.367 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.7089, allocations: 361.8 kB / 1.491 GB, free: 6.008 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.7101, allocations: 0.5726 MB / 1.491 GB, free: 5.434 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.7118, allocations: 1.222 MB / 1.492 GB, free: 4.043 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002508/0.7143, allocations: 1.314 MB / 1.494 GB, free: 2.719 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.7143, allocations: 0 / 1.494 GB, free: 2.719 MB / 1.186 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004244/0.7185, allocations: 1.78 MB / 1.495 GB, free: 0.9141 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.7186, allocations: 4 kB / 1.495 GB, free: 0.9102 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.7186, allocations: 0 / 1.495 GB, free: 0.9102 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.7197, allocations: 224.1 kB / 1.496 GB, free: 0.6758 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.7212, allocations: 319.6 kB / 1.496 GB, free: 372 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006825/0.728, allocations: 6.779 MB / 1.503 GB, free: 9.008 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.7297, allocations: 167.1 kB / 1.503 GB, free: 8.844 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/0.7299, allocations: 51.95 kB / 1.503 GB, free: 8.793 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 (144): * Single equations (assignments): 139 * 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.001065/0.731, allocations: 489.5 kB / 1.503 GB, free: 8.305 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004699/0.7314, allocations: 202.7 kB / 1.503 GB, free: 8.105 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004665/0.7361, allocations: 2.13 MB / 1.506 GB, free: 5.949 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.7361, allocations: 16 kB / 1.506 GB, free: 5.934 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7361, allocations: 0 / 1.506 GB, free: 5.934 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.7361, allocations: 11.97 kB / 1.506 GB, free: 5.922 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007513/0.7436, allocations: 3.819 MB / 1.509 GB, free: 2.031 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.7436, allocations: 3.984 kB / 1.509 GB, free: 2.027 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/0.7451, allocations: 315.6 kB / 1.51 GB, free: 1.719 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009341/0.7461, allocations: 208.1 kB / 1.51 GB, free: 1.5 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/0.7462, allocations: 39.97 kB / 1.51 GB, free: 1.461 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006751/0.7529, allocations: 6.824 MB / 1.516 GB, free: 10.05 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7529, allocations: 0 / 1.516 GB, free: 10.05 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00479/0.7577, allocations: 2.01 MB / 1.518 GB, free: 8.012 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/0.7591, allocations: 458 kB / 1.519 GB, free: 7.562 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/0.7594, allocations: 35.98 kB / 1.519 GB, free: 7.527 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.7606, allocations: 99.91 kB / 1.519 GB, free: 7.43 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/0.7609, allocations: 117.1 kB / 1.519 GB, free: 7.316 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.761, allocations: 67.95 kB / 1.519 GB, free: 7.25 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.004025/0.765, allocations: 3.148 MB / 1.522 GB, free: 4.109 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.765, allocations: 0 / 1.522 GB, free: 4.109 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002492/0.7675, allocations: 0.6937 MB / 1.523 GB, free: 3.414 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.007391/0.7749, allocations: 3.255 MB / 1.526 GB, free: 332 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003954/0.7789, allocations: 1.992 MB / 1.528 GB, free: 14.27 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.7789, allocations: 4.656 kB / 1.528 GB, free: 14.26 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002373/0.7813, allocations: 1.364 MB / 1.529 GB, free: 12.83 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/0.7844, allocations: 0.5516 MB / 1.53 GB, free: 12.3 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03556/0.8199, allocations: 20.89 MB / 1.55 GB, free: 7.168 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/0.8211, allocations: 0.9552 MB / 1.551 GB, free: 6.18 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001979/0.8231, allocations: 0.529 MB / 1.552 GB, free: 5.645 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/0.8245, allocations: 0.9093 MB / 1.553 GB, free: 4.734 MB / 1.248 GB Notification: Performance of SimCode: time 1.152e-06/0.8245, allocations: 0 / 1.553 GB, free: 4.734 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.121/0.9455, allocations: 52.78 MB / 1.604 GB, free: 0.5781 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.87/16.81, allocations: 8 kB / 1.604 GB, free: 0.5703 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.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.361496727913618]