Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.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.001962/0.001962, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.002185/0.002185, allocations: 187.7 kB / 19.4 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.471/1.471, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.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.651/2.651, allocations: 443.5 MB / 0.7287 GB, free: 14.49 MB / 0.5762 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.Examples.Outside_CpData,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.89 kB / 1.056 GB, free: 2.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3314, allocations: 160.7 MB / 1.213 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.9181/1.25, allocations: 168.9 MB / 1.378 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02796/1.278, allocations: 17.44 MB / 1.395 GB, free: 13.21 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/1.28, allocations: 30.5 kB / 1.395 GB, free: 13.2 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002254/1.282, allocations: 0.5916 MB / 1.396 GB, free: 12.7 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006875/1.289, allocations: 1.819 MB / 1.397 GB, free: 11.34 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004982/1.294, allocations: 1.446 MB / 1.399 GB, free: 10.25 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005697/1.3, allocations: 2.861 MB / 1.402 GB, free: 8.531 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003135/1.303, allocations: 1.607 MB / 1.403 GB, free: 7.359 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00526/1.308, allocations: 1.466 MB / 1.405 GB, free: 6.551 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002601/1.311, allocations: 1.144 MB / 1.406 GB, free: 5.781 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001052/1.312, allocations: 220.3 kB / 1.406 GB, free: 5.781 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004988/1.317, allocations: 1.599 MB / 1.407 GB, free: 5.008 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001558/1.318, allocations: 0.821 MB / 1.408 GB, free: 4.422 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002985/1.321, allocations: 1.267 MB / 1.409 GB, free: 3.527 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008836/1.33, allocations: 3.741 MB / 1.413 GB, free: 0.957 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.33, allocations: 3.938 kB / 1.413 GB, free: 0.9531 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.565e-06/1.33, allocations: 0 / 1.413 GB, free: 0.9531 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001876/1.33, allocations: 0 / 1.413 GB, free: 0.9531 MB / 1.076 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.008966/1.339, allocations: 2.99 MB / 1.416 GB, free: 14.73 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 7.37e-05/1.339, allocations: 10.19 kB / 1.416 GB, free: 14.73 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007658/1.34, allocations: 247 kB / 1.416 GB, free: 14.54 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004676/1.345, allocations: 0.5815 MB / 1.417 GB, free: 14.26 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005796/1.351, allocations: 3.439 MB / 1.42 GB, free: 12.38 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/1.351, allocations: 130.5 kB / 1.42 GB, free: 12.32 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004378/1.351, allocations: 166.5 kB / 1.42 GB, free: 12.27 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004447/1.356, allocations: 1.949 MB / 1.422 GB, free: 10.93 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.423e-05/1.356, allocations: 3.938 kB / 1.422 GB, free: 10.92 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002785/1.356, allocations: 72 kB / 1.422 GB, free: 10.85 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/1.356, allocations: 44 kB / 1.422 GB, free: 10.81 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004275/1.36, allocations: 2.089 MB / 1.425 GB, free: 8.715 MB / 1.092 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.01224/1.373, allocations: 6.543 MB / 1.431 GB, free: 1.832 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003689/1.376, allocations: 2.019 MB / 1.433 GB, free: 15.73 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/1.378, allocations: 0.6988 MB / 1.434 GB, free: 15.03 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006905/1.378, allocations: 433.6 kB / 1.434 GB, free: 14.54 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001913/1.38, allocations: 1.013 MB / 1.435 GB, free: 13.5 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 3.336e-06/1.38, allocations: 4 kB / 1.435 GB, free: 13.5 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.00755/1.388, allocations: 2.966 MB / 1.438 GB, free: 10.42 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/1.388, allocations: 197.2 kB / 1.438 GB, free: 10.18 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005213/1.393, allocations: 4.052 MB / 1.442 GB, free: 6.125 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002986/1.393, allocations: 61.7 kB / 1.442 GB, free: 6.059 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008751/1.394, allocations: 0.8958 MB / 1.443 GB, free: 5.152 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005422/1.395, allocations: 0.5035 MB / 1.443 GB, free: 4.645 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004293/1.395, allocations: 238.9 kB / 1.444 GB, free: 4.402 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001804/1.395, allocations: 353.9 kB / 1.444 GB, free: 4.051 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/1.397, allocations: 0.5686 MB / 1.445 GB, free: 3.484 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/1.398, allocations: 0.7969 MB / 1.445 GB, free: 2.621 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002377/1.4, allocations: 1.31 MB / 1.447 GB, free: 1.301 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.4, allocations: 0 / 1.447 GB, free: 1.301 MB / 1.107 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004115/1.404, allocations: 1.777 MB / 1.448 GB, free: 15.5 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.404, allocations: 4 kB / 1.448 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/1.404, allocations: 0 / 1.448 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/1.405, allocations: 220.1 kB / 1.449 GB, free: 15.26 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/1.407, allocations: 323.6 kB / 1.449 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006833/1.414, allocations: 7.331 MB / 1.456 GB, free: 6.918 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/1.416, allocations: 159.2 kB / 1.456 GB, free: 6.762 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/1.416, allocations: 51.95 kB / 1.456 GB, free: 6.711 MB / 1.123 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.001228/1.417, allocations: 485.4 kB / 1.457 GB, free: 6.227 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006401/1.418, allocations: 198.7 kB / 1.457 GB, free: 6.031 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004881/1.423, allocations: 2.134 MB / 1.459 GB, free: 3.871 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/1.423, allocations: 16 kB / 1.459 GB, free: 3.855 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.423, allocations: 0 / 1.459 GB, free: 3.855 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/1.423, allocations: 7.969 kB / 1.459 GB, free: 3.848 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008619/1.432, allocations: 4.1 MB / 1.463 GB, free: 15.67 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/1.432, allocations: 0 / 1.463 GB, free: 15.67 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/1.433, allocations: 323.5 kB / 1.463 GB, free: 15.35 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009248/1.434, allocations: 204.1 kB / 1.464 GB, free: 15.14 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/1.434, allocations: 39.97 kB / 1.464 GB, free: 15.1 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006897/1.441, allocations: 7.348 MB / 1.471 GB, free: 7.039 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.441, allocations: 8 kB / 1.471 GB, free: 7.031 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004789/1.446, allocations: 2.006 MB / 1.473 GB, free: 4.992 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/1.447, allocations: 0.5187 MB / 1.473 GB, free: 4.453 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002925/1.447, allocations: 31.98 kB / 1.473 GB, free: 4.422 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.449, allocations: 104.3 kB / 1.473 GB, free: 4.324 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000268/1.449, allocations: 113.2 kB / 1.473 GB, free: 4.211 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/1.449, allocations: 71.94 kB / 1.474 GB, free: 4.141 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.003706/1.453, allocations: 3.116 MB / 1.477 GB, free: 1.031 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.453, allocations: 3.938 kB / 1.477 GB, free: 1.027 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002152/1.455, allocations: 0.6976 MB / 1.477 GB, free: 336 kB / 1.139 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.006846/1.462, allocations: 3.208 MB / 1.48 GB, free: 13.28 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003664/1.466, allocations: 2 MB / 1.482 GB, free: 11.22 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.466, allocations: 4.562 kB / 1.482 GB, free: 11.21 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002172/1.468, allocations: 1.36 MB / 1.484 GB, free: 9.789 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/1.47, allocations: 0.5581 MB / 1.484 GB, free: 9.254 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0347/1.505, allocations: 20.83 MB / 1.505 GB, free: 4.184 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/1.506, allocations: 1.533 MB / 1.506 GB, free: 2.617 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001877/1.508, allocations: 0.5212 MB / 1.507 GB, free: 2.09 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/1.51, allocations: 0.8975 MB / 1.507 GB, free: 1.191 MB / 1.17 GB Notification: Performance of SimCode: time 1.212e-06/1.51, allocations: 4 kB / 1.507 GB, free: 1.188 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1517/1.661, allocations: 49.28 MB / 1.556 GB, free: 360 kB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.9/18.56, allocations: 0 / 1.556 GB, free: 360 kB / 1.217 GB " [Timeout remaining time 281] (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 25.026701878756285]