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.001387/0.001387, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001388/0.001388, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.51/1.51, allocations: 225.6 MB / 249.4 MB, free: 3.148 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.662/2.662, allocations: 443.4 MB / 0.7304 GB, free: 14 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: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.88 kB / 1.059 GB, free: 384 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3429, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.9943/1.337, allocations: 169.1 MB / 1.381 GB, free: 8.945 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02641/1.364, allocations: 17.63 MB / 1.398 GB, free: 11.66 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/1.366, allocations: 31.16 kB / 1.399 GB, free: 11.64 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002493/1.368, allocations: 0.5947 MB / 1.399 GB, free: 11.14 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008557/1.377, allocations: 1.8 MB / 1.401 GB, free: 9.797 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006003/1.383, allocations: 1.473 MB / 1.402 GB, free: 8.684 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005777/1.388, allocations: 2.863 MB / 1.405 GB, free: 6.965 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003071/1.391, allocations: 1.585 MB / 1.407 GB, free: 5.801 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007988/1.399, allocations: 1.487 MB / 1.408 GB, free: 4.977 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003782/1.403, allocations: 1.147 MB / 1.409 GB, free: 4.207 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0007452/1.404, allocations: 220.8 kB / 1.409 GB, free: 4.207 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004633/1.409, allocations: 1.587 MB / 1.411 GB, free: 3.441 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0009397/1.41, allocations: 0.8024 MB / 1.412 GB, free: 2.871 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002332/1.412, allocations: 1.218 MB / 1.413 GB, free: 2.02 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008377/1.42, allocations: 3.603 MB / 1.416 GB, free: 15.54 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.348e-05/1.42, allocations: 11.98 kB / 1.416 GB, free: 15.53 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.364e-06/1.42, allocations: 0 / 1.416 GB, free: 15.53 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001299/1.42, allocations: 0 / 1.416 GB, free: 15.53 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.006371/1.427, allocations: 2.831 MB / 1.419 GB, free: 13.43 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.427, allocations: 8.062 kB / 1.419 GB, free: 13.43 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004103/1.431, allocations: 0.5713 MB / 1.42 GB, free: 13.15 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00327/1.434, allocations: 1.64 MB / 1.421 GB, free: 12 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/1.434, allocations: 130.8 kB / 1.422 GB, free: 11.95 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/1.435, allocations: 163.7 kB / 1.422 GB, free: 11.89 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003677/1.438, allocations: 1.941 MB / 1.424 GB, free: 10.76 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/1.438, allocations: 0 / 1.424 GB, free: 10.76 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/1.438, allocations: 77.94 kB / 1.424 GB, free: 10.7 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/1.438, allocations: 40.56 kB / 1.424 GB, free: 10.7 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003707/1.442, allocations: 2.093 MB / 1.426 GB, free: 9.02 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.01082/1.453, allocations: 6.043 MB / 1.432 GB, free: 2.633 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/1.457, allocations: 2.011 MB / 1.434 GB, free: 0.543 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/1.458, allocations: 0.6989 MB / 1.434 GB, free: 15.84 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006687/1.459, allocations: 429.5 kB / 1.435 GB, free: 15.35 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001933/1.46, allocations: 1.009 MB / 1.436 GB, free: 14.32 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 3.196e-06/1.46, allocations: 0 / 1.436 GB, free: 14.32 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.007426/1.468, allocations: 2.955 MB / 1.439 GB, free: 11.25 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/1.468, allocations: 209.2 kB / 1.439 GB, free: 11 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002835/1.471, allocations: 1.776 MB / 1.44 GB, free: 9.215 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002627/1.471, allocations: 57.7 kB / 1.441 GB, free: 9.152 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009472/1.472, allocations: 0.8441 MB / 1.441 GB, free: 8.297 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005837/1.473, allocations: 0.4957 MB / 1.442 GB, free: 7.797 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004743/1.473, allocations: 262.8 kB / 1.442 GB, free: 7.531 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001987/1.473, allocations: 357.9 kB / 1.442 GB, free: 7.176 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/1.475, allocations: 0.592 MB / 1.443 GB, free: 6.586 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/1.476, allocations: 0.8013 MB / 1.444 GB, free: 5.73 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002504/1.479, allocations: 1.333 MB / 1.445 GB, free: 4.387 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/1.479, allocations: 0 / 1.445 GB, free: 4.387 MB / 1.107 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004351/1.483, allocations: 1.816 MB / 1.447 GB, free: 2.547 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/1.483, allocations: 4 kB / 1.447 GB, free: 2.543 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/1.483, allocations: 3.938 kB / 1.447 GB, free: 2.539 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/1.484, allocations: 216.2 kB / 1.447 GB, free: 2.312 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/1.486, allocations: 331.5 kB / 1.447 GB, free: 1.988 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007125/1.493, allocations: 7.321 MB / 1.455 GB, free: 9.965 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/1.495, allocations: 153.4 kB / 1.455 GB, free: 9.816 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/1.495, allocations: 63.89 kB / 1.455 GB, free: 9.754 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (152): * Single equations (assignments): 147 * 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.00102/1.496, allocations: 483.4 kB / 1.455 GB, free: 9.273 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004362/1.496, allocations: 194.8 kB / 1.455 GB, free: 9.082 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00476/1.501, allocations: 2.125 MB / 1.457 GB, free: 6.93 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/1.501, allocations: 16 kB / 1.458 GB, free: 6.914 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.501, allocations: 4 kB / 1.458 GB, free: 6.91 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/1.501, allocations: 7.969 kB / 1.458 GB, free: 6.902 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007718/1.509, allocations: 3.969 MB / 1.461 GB, free: 2.855 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.509, allocations: 0 / 1.461 GB, free: 2.855 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/1.51, allocations: 315.5 kB / 1.462 GB, free: 2.547 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009576/1.511, allocations: 212.1 kB / 1.462 GB, free: 2.324 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/1.512, allocations: 39.97 kB / 1.462 GB, free: 2.285 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007136/1.519, allocations: 7.355 MB / 1.469 GB, free: 10.22 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.519, allocations: 0 / 1.469 GB, free: 10.22 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004846/1.523, allocations: 1.993 MB / 1.471 GB, free: 8.191 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/1.525, allocations: 483.3 kB / 1.472 GB, free: 7.699 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/1.525, allocations: 28 kB / 1.472 GB, free: 7.672 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/1.526, allocations: 108.1 kB / 1.472 GB, free: 7.57 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/1.526, allocations: 109.3 kB / 1.472 GB, free: 7.461 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001862/1.527, allocations: 71.95 kB / 1.472 GB, free: 7.391 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00189/1.529, allocations: 1.285 MB / 1.473 GB, free: 6.109 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.529, allocations: 0 / 1.473 GB, free: 6.109 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002501/1.531, allocations: 0.6859 MB / 1.474 GB, free: 5.422 MB / 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.002561/1.534, allocations: 0.7727 MB / 1.475 GB, free: 4.832 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003882/1.537, allocations: 2.024 MB / 1.476 GB, free: 2.742 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.537, allocations: 0.5625 kB / 1.476 GB, free: 2.742 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002247/1.54, allocations: 1.364 MB / 1.478 GB, free: 1.316 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/1.542, allocations: 0.5467 MB / 1.478 GB, free: 0.793 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007303/1.55, allocations: 3.777 MB / 1.482 GB, free: 12.97 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/1.551, allocations: 1.529 MB / 1.484 GB, free: 11.41 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001972/1.553, allocations: 0.497 MB / 1.484 GB, free: 10.9 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/1.553, allocations: 179.3 kB / 1.484 GB, free: 10.73 MB / 1.154 GB Notification: Performance of SimCode: time 1.262e-06/1.553, allocations: 4 kB / 1.484 GB, free: 10.72 MB / 1.154 GB Notification: Performance of Templates: time 0.06286/1.616, allocations: 32.83 MB / 1.516 GB, free: 10.24 MB / 1.186 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.726926510222256]