Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001262/0.001262, allocations: 116.1 kB / 17.16 MB, free: 5.906 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.001392/0.001392, allocations: 215 kB / 20.13 MB, free: 2.961 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.431/1.431, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.821/2.821, allocations: 0.49 GB / 0.7923 GB, free: 1.309 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.Examples.Outside_CpData,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="cs",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.001955/0.001955, allocations: 67.91 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8357/0.8377, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2117/1.049, allocations: 171.9 MB / 1.489 GB, free: 9.883 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02725/1.077, allocations: 17.52 MB / 1.506 GB, free: 11.76 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/1.079, allocations: 43.06 kB / 1.507 GB, free: 11.74 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002404/1.081, allocations: 0.5947 MB / 1.507 GB, free: 11.23 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006396/1.087, allocations: 1.829 MB / 1.509 GB, free: 9.434 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004703/1.092, allocations: 1.46 MB / 1.51 GB, free: 7.988 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004749/1.097, allocations: 2.882 MB / 1.513 GB, free: 5.094 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00301/1.1, allocations: 1.609 MB / 1.515 GB, free: 3.43 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00522/1.105, allocations: 1.504 MB / 1.516 GB, free: 1.965 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/1.107, allocations: 1.152 MB / 1.517 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0007908/1.108, allocations: 224 kB / 1.517 GB, free: 0.5898 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00424/1.112, allocations: 1.634 MB / 1.519 GB, free: 14.95 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001237/1.114, allocations: 0.8177 MB / 1.52 GB, free: 14.13 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002209/1.116, allocations: 1.271 MB / 1.521 GB, free: 12.86 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.007182/1.123, allocations: 3.79 MB / 1.525 GB, free: 9.051 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.123, allocations: 0 / 1.525 GB, free: 9.051 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.944e-06/1.123, allocations: 0 / 1.525 GB, free: 9.051 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001272/1.123, allocations: 0 / 1.525 GB, free: 9.051 MB / 1.201 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.006418/1.13, allocations: 3.021 MB / 1.528 GB, free: 5.957 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.13, allocations: 15.98 kB / 1.528 GB, free: 5.941 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.425e-05/1.13, allocations: 43.38 kB / 1.528 GB, free: 5.898 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004045/1.13, allocations: 252.8 kB / 1.528 GB, free: 5.641 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004643/1.135, allocations: 0.6384 MB / 1.529 GB, free: 5 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004748/1.139, allocations: 3.446 MB / 1.532 GB, free: 1.504 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/1.14, allocations: 131.4 kB / 1.532 GB, free: 1.375 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003274/1.14, allocations: 167.9 kB / 1.532 GB, free: 1.211 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003603/1.144, allocations: 1.944 MB / 1.534 GB, free: 15.21 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/1.144, allocations: 0 / 1.534 GB, free: 15.21 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000184/1.144, allocations: 76 kB / 1.534 GB, free: 15.14 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/1.144, allocations: 40 kB / 1.534 GB, free: 15.1 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003832/1.148, allocations: 2.085 MB / 1.536 GB, free: 13.01 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/1.158, allocations: 6.765 MB / 1.543 GB, free: 5.855 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003609/1.162, allocations: 2.007 MB / 1.545 GB, free: 3.777 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/1.163, allocations: 0.7065 MB / 1.546 GB, free: 3.066 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000645/1.164, allocations: 437.6 kB / 1.546 GB, free: 2.566 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001953/1.166, allocations: 1.005 MB / 1.547 GB, free: 1.539 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 2.805e-06/1.166, allocations: 0 / 1.547 GB, free: 1.539 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.007454/1.173, allocations: 2.966 MB / 1.55 GB, free: 14.46 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/1.174, allocations: 201.2 kB / 1.55 GB, free: 14.22 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005049/1.179, allocations: 4.077 MB / 1.554 GB, free: 10.14 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.000299/1.179, allocations: 61.7 kB / 1.554 GB, free: 10.07 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008838/1.18, allocations: 0.9114 MB / 1.555 GB, free: 9.152 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005809/1.18, allocations: 0.4919 MB / 1.556 GB, free: 8.656 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004338/1.181, allocations: 242.7 kB / 1.556 GB, free: 8.41 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.181, allocations: 349.9 kB / 1.556 GB, free: 8.062 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/1.182, allocations: 0.5765 MB / 1.557 GB, free: 7.488 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/1.184, allocations: 0.793 MB / 1.557 GB, free: 6.629 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002565/1.186, allocations: 1.31 MB / 1.559 GB, free: 5.309 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/1.186, allocations: 0 / 1.559 GB, free: 5.309 MB / 1.232 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004398/1.191, allocations: 1.78 MB / 1.56 GB, free: 3.504 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.191, allocations: 4 kB / 1.56 GB, free: 3.5 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.191, allocations: 3.938 kB / 1.56 GB, free: 3.496 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/1.192, allocations: 216.2 kB / 1.561 GB, free: 3.27 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/1.193, allocations: 327.5 kB / 1.561 GB, free: 2.949 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007307/1.201, allocations: 7.328 MB / 1.568 GB, free: 10.92 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/1.203, allocations: 163.2 kB / 1.568 GB, free: 10.76 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002174/1.203, allocations: 51.97 kB / 1.568 GB, free: 10.71 MB / 1.248 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.001174/1.204, allocations: 489.4 kB / 1.569 GB, free: 10.22 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005645/1.204, allocations: 202.7 kB / 1.569 GB, free: 10.02 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005065/1.21, allocations: 2.134 MB / 1.571 GB, free: 7.859 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/1.21, allocations: 19.98 kB / 1.571 GB, free: 7.84 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/1.21, allocations: 4 kB / 1.571 GB, free: 7.836 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.382e-05/1.21, allocations: 7.969 kB / 1.571 GB, free: 7.828 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008464/1.218, allocations: 4.112 MB / 1.575 GB, free: 3.641 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/1.218, allocations: 0 / 1.575 GB, free: 3.641 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/1.22, allocations: 319.6 kB / 1.575 GB, free: 3.328 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009783/1.221, allocations: 200.1 kB / 1.576 GB, free: 3.117 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002145/1.221, allocations: 47.95 kB / 1.576 GB, free: 3.07 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006907/1.228, allocations: 7.356 MB / 1.583 GB, free: 11 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.228, allocations: 0 / 1.583 GB, free: 11 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005016/1.233, allocations: 2.014 MB / 1.585 GB, free: 8.957 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.234, allocations: 0.5226 MB / 1.585 GB, free: 8.414 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004033/1.234, allocations: 28 kB / 1.585 GB, free: 8.387 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/1.236, allocations: 113.5 kB / 1.585 GB, free: 8.277 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003603/1.236, allocations: 113.2 kB / 1.586 GB, free: 8.164 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002143/1.236, allocations: 71.94 kB / 1.586 GB, free: 8.094 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003838/1.24, allocations: 3.136 MB / 1.589 GB, free: 4.965 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.11e-07/1.24, allocations: 0 / 1.589 GB, free: 4.965 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002355/1.243, allocations: 0.6898 MB / 1.589 GB, free: 4.273 MB / 1.264 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.00751/1.25, allocations: 3.213 MB / 1.593 GB, free: 1.195 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004009/1.254, allocations: 2 MB / 1.594 GB, free: 15.13 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.254, allocations: 0.5625 kB / 1.594 GB, free: 15.13 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00234/1.257, allocations: 1.364 MB / 1.596 GB, free: 13.7 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/1.259, allocations: 0.5471 MB / 1.596 GB, free: 13.18 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03311/1.293, allocations: 20.9 MB / 1.617 GB, free: 8.043 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.294, allocations: 1.541 MB / 1.618 GB, free: 6.465 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001948/1.296, allocations: 0.529 MB / 1.619 GB, free: 5.93 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.297, allocations: 0.9054 MB / 1.62 GB, free: 5.023 MB / 1.295 GB Notification: Performance of SimCode: time 8.42e-07/1.297, allocations: 0 / 1.62 GB, free: 5.023 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1125/1.41, allocations: 49.58 MB / 1.668 GB, free: 3.859 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.87/17.28, allocations: 4 kB / 1.668 GB, free: 3.855 MB / 1.342 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 23.757984384021256]