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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 109.9 kB / 16.41 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 189.6 kB / 17.34 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.362/2.362, allocations: 437 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 64.36 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8084/0.8099, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1747/0.9847, allocations: 168.4 MB / 1.332 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02508/1.01, allocations: 17.34 MB / 1.349 GB, free: 9.41 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/1.012, allocations: 31.81 kB / 1.349 GB, free: 9.379 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002148/1.014, allocations: 0.5934 MB / 1.349 GB, free: 8.781 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006028/1.02, allocations: 1.802 MB / 1.351 GB, free: 6.977 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004394/1.024, allocations: 1.446 MB / 1.352 GB, free: 5.543 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00433/1.029, allocations: 2.87 MB / 1.355 GB, free: 2.664 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003164/1.032, allocations: 1.94 MB / 1.357 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004421/1.036, allocations: 1.474 MB / 1.359 GB, free: 15.24 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/1.038, allocations: 1.109 MB / 1.36 GB, free: 14.13 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0007253/1.039, allocations: 224 kB / 1.36 GB, free: 13.91 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003782/1.043, allocations: 1.56 MB / 1.361 GB, free: 12.35 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001105/1.044, allocations: 0.7829 MB / 1.362 GB, free: 11.56 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002144/1.046, allocations: 1.217 MB / 1.363 GB, free: 10.34 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006438/1.053, allocations: 3.594 MB / 1.367 GB, free: 6.734 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.475e-06/1.053, allocations: 4 kB / 1.367 GB, free: 6.73 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.805e-06/1.053, allocations: 0 / 1.367 GB, free: 6.73 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001565/1.053, allocations: 0 / 1.367 GB, free: 6.73 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.006965/1.06, allocations: 2.756 MB / 1.37 GB, free: 3.906 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.06, allocations: 8.031 kB / 1.37 GB, free: 3.898 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004184/1.064, allocations: 0.5551 MB / 1.37 GB, free: 3.34 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/1.067, allocations: 1.627 MB / 1.372 GB, free: 1.66 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/1.068, allocations: 131.4 kB / 1.372 GB, free: 1.531 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003954/1.068, allocations: 168 kB / 1.372 GB, free: 1.367 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003983/1.072, allocations: 1.944 MB / 1.374 GB, free: 15.37 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/1.072, allocations: 4 kB / 1.374 GB, free: 15.37 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000219/1.072, allocations: 72 kB / 1.374 GB, free: 15.3 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.755e-05/1.072, allocations: 40 kB / 1.374 GB, free: 15.26 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003825/1.076, allocations: 2.093 MB / 1.376 GB, free: 13.16 MB / 1.107 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.01067/1.087, allocations: 6.012 MB / 1.382 GB, free: 6.801 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/1.09, allocations: 2.107 MB / 1.384 GB, free: 4.617 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/1.092, allocations: 0.7569 MB / 1.385 GB, free: 3.859 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006324/1.092, allocations: 441.5 kB / 1.385 GB, free: 3.355 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001839/1.094, allocations: 1.009 MB / 1.386 GB, free: 2.324 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 4.609e-06/1.094, allocations: 0 / 1.386 GB, free: 2.324 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.007025/1.101, allocations: 2.946 MB / 1.389 GB, free: 15.26 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/1.102, allocations: 201.2 kB / 1.389 GB, free: 15.02 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002684/1.104, allocations: 1.787 MB / 1.391 GB, free: 13.22 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002388/1.104, allocations: 57.7 kB / 1.391 GB, free: 13.16 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008215/1.105, allocations: 0.8311 MB / 1.392 GB, free: 12.32 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005412/1.106, allocations: 484.8 kB / 1.392 GB, free: 11.84 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005173/1.106, allocations: 258.7 kB / 1.393 GB, free: 11.58 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.107, allocations: 357.9 kB / 1.393 GB, free: 11.22 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/1.108, allocations: 0.5959 MB / 1.393 GB, free: 10.63 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/1.109, allocations: 0.8013 MB / 1.394 GB, free: 9.773 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/1.112, allocations: 1.333 MB / 1.396 GB, free: 8.43 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.112, allocations: 4 kB / 1.396 GB, free: 8.426 MB / 1.123 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004283/1.116, allocations: 1.803 MB / 1.397 GB, free: 6.598 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/1.116, allocations: 14.42 kB / 1.397 GB, free: 6.586 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.116, allocations: 0 / 1.397 GB, free: 6.586 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/1.117, allocations: 212.2 kB / 1.398 GB, free: 6.363 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/1.119, allocations: 331.5 kB / 1.398 GB, free: 6.039 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006962/1.126, allocations: 7.317 MB / 1.405 GB, free: 14.02 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/1.128, allocations: 166.9 kB / 1.405 GB, free: 13.86 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/1.128, allocations: 55.95 kB / 1.405 GB, free: 13.8 MB / 1.139 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.001185/1.129, allocations: 479.2 kB / 1.406 GB, free: 13.32 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005829/1.13, allocations: 177.8 kB / 1.406 GB, free: 13.15 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/1.135, allocations: 2.128 MB / 1.408 GB, free: 10.99 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/1.135, allocations: 16 kB / 1.408 GB, free: 10.98 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.135, allocations: 4 kB / 1.408 GB, free: 10.97 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/1.135, allocations: 7.969 kB / 1.408 GB, free: 10.96 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00794/1.143, allocations: 3.969 MB / 1.412 GB, free: 6.918 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.143, allocations: 0 / 1.412 GB, free: 6.918 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/1.144, allocations: 327.5 kB / 1.412 GB, free: 6.598 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009374/1.145, allocations: 200.1 kB / 1.412 GB, free: 6.387 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/1.146, allocations: 39.97 kB / 1.412 GB, free: 6.348 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006327/1.152, allocations: 7.351 MB / 1.42 GB, free: 14.28 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.152, allocations: 4.125 kB / 1.42 GB, free: 14.28 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004759/1.157, allocations: 1.996 MB / 1.421 GB, free: 12.25 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/1.158, allocations: 470.3 kB / 1.422 GB, free: 11.77 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000467/1.158, allocations: 32 kB / 1.422 GB, free: 11.73 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/1.16, allocations: 97.58 kB / 1.422 GB, free: 11.64 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/1.16, allocations: 113.2 kB / 1.422 GB, free: 11.53 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/1.161, allocations: 75.94 kB / 1.422 GB, free: 11.45 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002105/1.163, allocations: 1.273 MB / 1.423 GB, free: 10.18 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.9e-07/1.163, allocations: 0 / 1.423 GB, free: 10.18 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002255/1.165, allocations: 0.6859 MB / 1.424 GB, free: 9.496 MB / 1.154 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.00204/1.167, allocations: 0.7589 MB / 1.425 GB, free: 8.895 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003955/1.171, allocations: 2.078 MB / 1.427 GB, free: 6.75 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.171, allocations: 0.5625 kB / 1.427 GB, free: 6.75 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002358/1.173, allocations: 1.414 MB / 1.428 GB, free: 5.273 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/1.176, allocations: 0.5463 MB / 1.429 GB, free: 4.746 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007449/1.184, allocations: 3.643 MB / 1.432 GB, free: 1.062 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/1.185, allocations: 1.494 MB / 1.434 GB, free: 15.53 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000782/1.186, allocations: 191.3 kB / 1.434 GB, free: 15.34 MB / 1.17 GB Notification: Performance of SimCode: time 1.032e-06/1.186, allocations: 0 / 1.434 GB, free: 15.34 MB / 1.17 GB Notification: Performance of Templates: time 0.08109/1.267, allocations: 67.12 MB / 1.5 GB, free: 12.2 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches