Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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.SolarCollectors.Examples.Concentrating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Concentrating") translateModel(Buildings.Fluid.SolarCollectors.Examples.Concentrating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Concentrating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 113.8 kB / 16.42 MB, free: 6.473 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.00172/0.00172, allocations: 186.6 kB / 17.35 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.326/1.326, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.378/2.378, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 59.89 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7214/0.7228, allocations: 151.6 MB / 1.167 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Concentrating): time 0.03792/0.7608, allocations: 38.56 MB / 1.205 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1696/0.9304, allocations: 160.6 MB / 1.362 GB, free: 12.05 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003407/0.9339, allocations: 63.62 kB / 1.362 GB, free: 11.98 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002209/0.9361, allocations: 0.7499 MB / 1.363 GB, free: 11.23 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005723/0.9419, allocations: 2.064 MB / 1.365 GB, free: 9.16 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005343/0.9472, allocations: 2.223 MB / 1.367 GB, free: 6.949 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01314/0.9604, allocations: 13.24 MB / 1.38 GB, free: 9.68 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007604/0.968, allocations: 6.604 MB / 1.386 GB, free: 2.977 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008203/0.9763, allocations: 4.623 MB / 1.391 GB, free: 14.36 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006345/0.9826, allocations: 3.96 MB / 1.394 GB, free: 10.39 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001863/0.9845, allocations: 0.6758 MB / 1.395 GB, free: 9.711 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005051/0.9896, allocations: 1.963 MB / 1.397 GB, free: 7.746 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.002247/0.9918, allocations: 1.62 MB / 1.399 GB, free: 6.121 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00507/0.9969, allocations: 3.267 MB / 1.402 GB, free: 2.84 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01153/1.008, allocations: 9.485 MB / 1.411 GB, free: 9.328 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/1.008, allocations: 0 / 1.411 GB, free: 9.328 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.823e-06/1.008, allocations: 0 / 1.411 GB, free: 9.328 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0002343/1.009, allocations: 0 / 1.411 GB, free: 9.328 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1067 * Number of variables: 1067 Notification: Performance of Generate backend data structure: time 0.01635/1.025, allocations: 6.335 MB / 1.417 GB, free: 2.91 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/1.025, allocations: 8.625 kB / 1.417 GB, free: 2.902 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008227/1.033, allocations: 1.285 MB / 1.419 GB, free: 1.609 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/1.043, allocations: 4.925 MB / 1.423 GB, free: 12.62 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002685/1.044, allocations: 320.1 kB / 1.424 GB, free: 12.3 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/1.045, allocations: 411.9 kB / 1.424 GB, free: 11.9 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/1.058, allocations: 5.931 MB / 1.43 GB, free: 5.762 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.968e-05/1.058, allocations: 15.94 kB / 1.43 GB, free: 5.746 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005788/1.059, allocations: 172 kB / 1.43 GB, free: 5.578 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001663/1.059, allocations: 187.9 kB / 1.43 GB, free: 5.395 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/1.071, allocations: 5.632 MB / 1.436 GB, free: 15.76 MB / 1.17 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.03264/1.104, allocations: 21.36 MB / 1.457 GB, free: 9.523 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008061/1.112, allocations: 3.747 MB / 1.46 GB, free: 5.77 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003929/1.116, allocations: 1.95 MB / 1.462 GB, free: 3.812 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002433/1.118, allocations: 1.9 MB / 1.464 GB, free: 1.523 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004913/1.123, allocations: 2.208 MB / 1.466 GB, free: 15.27 MB / 1.201 GB Notification: Performance of pre-optimization done (n=282): time 8.396e-06/1.123, allocations: 0 / 1.466 GB, free: 15.27 MB / 1.201 GB Notification: Performance of matching and sorting (n=282): time 0.01424/1.137, allocations: 5.344 MB / 1.471 GB, free: 9.848 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/1.137, allocations: 235.8 kB / 1.472 GB, free: 9.566 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006958/1.144, allocations: 3.882 MB / 1.475 GB, free: 5.656 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.00057/1.145, allocations: 81.7 kB / 1.475 GB, free: 5.57 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002127/1.147, allocations: 2.085 MB / 1.477 GB, free: 3.465 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/1.148, allocations: 0.9435 MB / 1.478 GB, free: 2.508 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/1.15, allocations: 0.6352 MB / 1.479 GB, free: 1.863 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 9.994e-05/1.15, allocations: 309.1 kB / 1.479 GB, free: 1.559 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003915/1.154, allocations: 1.644 MB / 1.481 GB, free: 15.9 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004479/1.158, allocations: 2.299 MB / 1.483 GB, free: 13.35 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008123/1.166, allocations: 4.018 MB / 1.487 GB, free: 9.066 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.11e-05/1.166, allocations: 4 kB / 1.487 GB, free: 9.062 MB / 1.217 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01094/1.177, allocations: 4.575 MB / 1.492 GB, free: 4.441 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/1.177, allocations: 12 kB / 1.492 GB, free: 4.43 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.787e-05/1.178, allocations: 16 kB / 1.492 GB, free: 4.414 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006407/1.178, allocations: 113.4 kB / 1.492 GB, free: 4.301 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004227/1.182, allocations: 0.7956 MB / 1.492 GB, free: 3.504 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002711/1.185, allocations: 2.277 MB / 1.495 GB, free: 1.055 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004717/1.19, allocations: 468.4 kB / 1.495 GB, free: 0.5938 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000681/1.191, allocations: 155.9 kB / 1.495 GB, free: 452 kB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007054/1.198, allocations: 2.958 MB / 1.498 GB, free: 13.48 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004669/1.202, allocations: 2.314 MB / 1.5 GB, free: 10.91 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008419/1.211, allocations: 3.999 MB / 1.504 GB, free: 6.648 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-05/1.211, allocations: 8 kB / 1.504 GB, free: 6.641 MB / 1.232 GB Notification: Performance of matching and sorting (n=397) (initialization_lambda0): time 0.01109/1.222, allocations: 4.567 MB / 1.509 GB, free: 2.027 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/1.222, allocations: 13.09 kB / 1.509 GB, free: 2.016 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/1.222, allocations: 24.16 kB / 1.509 GB, free: 1.992 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005706/1.223, allocations: 112.7 kB / 1.509 GB, free: 1.879 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003751/1.226, allocations: 0.7839 MB / 1.51 GB, free: 1.094 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/1.228, allocations: 1.677 MB / 1.511 GB, free: 15.27 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004247/1.233, allocations: 405.4 kB / 1.512 GB, free: 14.88 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003971/1.233, allocations: 151.9 kB / 1.512 GB, free: 14.73 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 23 (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,solCol.HDirTil.incAng.decAng.tNext,$PRE.solCol.HDirTil.incAng.decAng.tNext,solCol.HDifTilIso.incAng.decAng.tNext,$PRE.solCol.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (395): * Single equations (assignments): 393 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0008508/1.234, allocations: 383.3 kB / 1.512 GB, free: 14.34 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/1.235, allocations: 403.1 kB / 1.513 GB, free: 13.95 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/1.246, allocations: 4.555 MB / 1.517 GB, free: 9.332 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008393/1.254, allocations: 3.675 MB / 1.521 GB, free: 5.57 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/1.255, allocations: 3.938 kB / 1.521 GB, free: 5.566 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003452/1.258, allocations: 1.034 MB / 1.522 GB, free: 4.508 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/1.259, allocations: 67.98 kB / 1.522 GB, free: 4.441 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004059/1.263, allocations: 260.5 kB / 1.522 GB, free: 4.191 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005219/1.264, allocations: 202.1 kB / 1.522 GB, free: 3.992 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01181/1.276, allocations: 4.262 MB / 1.526 GB, free: 15.68 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01425/1.29, allocations: 6.589 MB / 1.533 GB, free: 9.02 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004019/1.294, allocations: 1.904 MB / 1.535 GB, free: 7.102 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.005221/1.299, allocations: 2.73 MB / 1.537 GB, free: 4.359 MB / 1.264 GB Notification: Performance of Backend: time 6.61e-07/1.299, allocations: 0 / 1.537 GB, free: 4.359 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01708/1.316, allocations: 5.918 MB / 1.543 GB, free: 14.6 MB / 1.279 GB Notification: Performance of SimCode: time 0.02266/1.339, allocations: 10.65 MB / 1.554 GB, free: 3.953 MB / 1.279 GB Notification: Performance of Templates: time 0.6681/2.007, allocations: 109.5 MB / 1.66 GB, free: 285.9 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Concentrating.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Concentrating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Concentrating_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Examples_Concentrating.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.Examples.Concentrating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches