Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.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.001691/0.001691, allocations: 107.5 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.001811/0.001811, 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.485/1.485, allocations: 225.6 MB / 247.8 MB, free: 3.738 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.597/2.597, allocations: 443.5 MB / 0.7287 GB, free: 14.63 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_Cp,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 71.89 kB / 1.056 GB, free: 2.543 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3655, allocations: 160.7 MB / 1.213 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.9986/1.364, allocations: 176.8 MB / 1.386 GB, free: 4.703 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02297/1.387, allocations: 15.74 MB / 1.401 GB, free: 8.355 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/1.389, allocations: 31.81 kB / 1.401 GB, free: 8.344 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001999/1.391, allocations: 0.6357 MB / 1.402 GB, free: 7.812 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005078/1.396, allocations: 1.608 MB / 1.403 GB, free: 6.582 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004544/1.401, allocations: 1.691 MB / 1.405 GB, free: 5.312 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004702/1.405, allocations: 2.899 MB / 1.408 GB, free: 3.59 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002806/1.408, allocations: 1.518 MB / 1.409 GB, free: 2.492 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004583/1.413, allocations: 1.427 MB / 1.41 GB, free: 1.699 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/1.415, allocations: 1.081 MB / 1.412 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004737/1.415, allocations: 198.3 kB / 1.412 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/1.419, allocations: 1.375 MB / 1.413 GB, free: 324 kB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006395/1.419, allocations: 0.5755 MB / 1.414 GB, free: 15.87 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001486/1.421, allocations: 1.027 MB / 1.415 GB, free: 15.16 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005512/1.426, allocations: 3.035 MB / 1.418 GB, free: 13.05 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.426, allocations: 0 / 1.418 GB, free: 13.05 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.104e-06/1.426, allocations: 0 / 1.418 GB, free: 13.05 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.193e-05/1.426, allocations: 3.938 kB / 1.418 GB, free: 13.05 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.004853/1.431, allocations: 2.372 MB / 1.42 GB, free: 11.27 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.431, allocations: 9.562 kB / 1.42 GB, free: 11.27 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003013/1.431, allocations: 239.1 kB / 1.42 GB, free: 11.08 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003103/1.435, allocations: 472.9 kB / 1.421 GB, free: 10.86 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/1.437, allocations: 1.144 MB / 1.422 GB, free: 9.969 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.666e-05/1.437, allocations: 120.9 kB / 1.422 GB, free: 9.914 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/1.437, allocations: 160.1 kB / 1.422 GB, free: 9.859 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00312/1.44, allocations: 1.783 MB / 1.424 GB, free: 8.738 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/1.44, allocations: 5.75 kB / 1.424 GB, free: 8.734 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/1.44, allocations: 70.38 kB / 1.424 GB, free: 8.684 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-05/1.441, allocations: 46.64 kB / 1.424 GB, free: 8.68 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003097/1.444, allocations: 1.772 MB / 1.426 GB, free: 7.605 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.009834/1.453, allocations: 6.162 MB / 1.432 GB, free: 1.082 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002889/1.456, allocations: 1.493 MB / 1.433 GB, free: 15.53 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/1.457, allocations: 0.5074 MB / 1.434 GB, free: 15.02 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/1.458, allocations: 0.8866 MB / 1.434 GB, free: 13.95 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/1.46, allocations: 0.7972 MB / 1.435 GB, free: 13.13 MB / 1.107 GB Notification: Performance of pre-optimization done (n=126): time 3.166e-06/1.46, allocations: 0 / 1.435 GB, free: 13.13 MB / 1.107 GB Notification: Performance of matching and sorting (n=126): time 0.005391/1.465, allocations: 1.895 MB / 1.437 GB, free: 11.21 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/1.466, allocations: 192.9 kB / 1.437 GB, free: 10.98 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/1.467, allocations: 0.9914 MB / 1.438 GB, free: 9.973 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001875/1.467, allocations: 49.7 kB / 1.438 GB, free: 9.918 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006551/1.468, allocations: 0.6814 MB / 1.439 GB, free: 9.227 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004281/1.468, allocations: 436.2 kB / 1.439 GB, free: 8.797 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003644/1.469, allocations: 214.8 kB / 1.44 GB, free: 8.582 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001873/1.469, allocations: 345.9 kB / 1.44 GB, free: 8.238 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000906/1.47, allocations: 430.4 kB / 1.44 GB, free: 7.816 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/1.471, allocations: 0.5945 MB / 1.441 GB, free: 7.176 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/1.473, allocations: 1.011 MB / 1.442 GB, free: 6.141 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.473, allocations: 4 kB / 1.442 GB, free: 6.137 MB / 1.107 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003069/1.476, allocations: 1.309 MB / 1.443 GB, free: 4.816 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.476, allocations: 4 kB / 1.443 GB, free: 4.812 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.476, allocations: 8.156 kB / 1.443 GB, free: 4.805 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000604/1.477, allocations: 80.78 kB / 1.443 GB, free: 4.723 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/1.478, allocations: 287.6 kB / 1.443 GB, free: 4.441 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/1.481, allocations: 1.659 MB / 1.445 GB, free: 2.645 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/1.482, allocations: 135.1 kB / 1.445 GB, free: 2.512 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.482, allocations: 47.97 kB / 1.445 GB, free: 2.465 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008365/1.483, allocations: 377.6 kB / 1.446 GB, free: 2.086 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/1.483, allocations: 143.1 kB / 1.446 GB, free: 1.945 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00378/1.487, allocations: 1.618 MB / 1.447 GB, free: 324 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/1.487, allocations: 12 kB / 1.447 GB, free: 312 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.487, allocations: 0 / 1.447 GB, free: 312 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/1.487, allocations: 7.922 kB / 1.447 GB, free: 304 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006354/1.493, allocations: 3.16 MB / 1.45 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/1.493, allocations: 0 / 1.45 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/1.495, allocations: 271.6 kB / 1.451 GB, free: 12.81 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000453/1.495, allocations: 72.8 kB / 1.451 GB, free: 12.73 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.364e-05/1.495, allocations: 35.97 kB / 1.451 GB, free: 12.7 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/1.497, allocations: 1.674 MB / 1.452 GB, free: 10.88 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.497, allocations: 0 / 1.452 GB, free: 10.88 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004799/1.502, allocations: 2.187 MB / 1.455 GB, free: 8.668 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.503, allocations: 403.7 kB / 1.455 GB, free: 8.254 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/1.503, allocations: 36 kB / 1.455 GB, free: 8.219 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.504, allocations: 91.97 kB / 1.455 GB, free: 8.129 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/1.505, allocations: 97.11 kB / 1.455 GB, free: 8.035 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/1.505, allocations: 55.95 kB / 1.455 GB, free: 7.98 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001062/1.506, allocations: 0.688 MB / 1.456 GB, free: 7.285 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.506, allocations: 0 / 1.456 GB, free: 7.285 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001508/1.507, allocations: 0.5532 MB / 1.456 GB, free: 6.73 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006828/1.514, allocations: 3.349 MB / 1.46 GB, free: 3.555 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002696/1.517, allocations: 1.201 MB / 1.461 GB, free: 2.34 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/1.517, allocations: 448 / 1.461 GB, free: 2.34 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/1.518, allocations: 0.7128 MB / 1.462 GB, free: 1.617 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/1.521, allocations: 0.5696 MB / 1.462 GB, free: 1.066 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01853/1.539, allocations: 10.1 MB / 1.472 GB, free: 6.789 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.54, allocations: 1.307 MB / 1.473 GB, free: 5.453 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001667/1.542, allocations: 434.8 kB / 1.474 GB, free: 5.023 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.543, allocations: 0.6594 MB / 1.474 GB, free: 4.363 MB / 1.139 GB Notification: Performance of SimCode: time 1.072e-06/1.543, allocations: 0 / 1.474 GB, free: 4.363 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08818/1.631, allocations: 37.61 MB / 1.511 GB, free: 15.15 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/16.65, allocations: 3.516 kB / 1.511 GB, free: 15.15 MB / 1.186 GB " [Timeout remaining time 283] (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.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: 22.90563551802188]